WHERE clause in the first load
WHERE clause in the first load
prieku
Posts: 1Questions: 1Answers: 0
How to filter datatables in the first load with WHERE clause of some "id" using server side ?
example basic query:
$sql = mysql_ query("SELECT * FROM table1 WHERE idcategory = $_GET[id]";
I need show data where i'm set on idcategory = $_GET[id]
that's it.
This discussion has been closed.
Answers
You can set
search
with your initial search. It will be performed when Datatables initializes.Kevin