the column search is not working
the column search is not working
szd
Posts: 7Questions: 1Answers: 0
i'm using the datatable search column with server side PHP / MYSQL
what should i add to the code
because it is not working
This discussion has been closed.
Answers
In order to better help you can you post the code you already have? Someone may immediately notice the error or missing code and be able to help you more quickly.
thank you for your suggestion, below is my code
PHP code - server side
javascript:
and i used the files below:
please note that general search is working properly
Is it the column search that isn't working? I don't see any column search code in your PHP. The documentation for the parameters sent to the server by DataTables is available here.
Allan
this isn't enough
if i remove the php and use the html alone it worked so i know i have to add something in my code but couldn't figure out what it is..
If you want to use column searching, you need to make use of the
columns[i][search][value]
values that are submitted by the client-side.Do you not have PDO available on your server? If you did, you could just use the demo ssp.class.php file that is part of the DataTables package.
Allan