SQL where conditions

QuestionsSQL where conditions
Leonardo Nencioni asked 5 years ago

first of all congratulations for your great work and sorry for my bad english; i have this question (i work with developer edition) :
in the index.php i set database name,user,password,host and the table name to populate the grid but how can set a where condition to pass at sql query to load data?

thank you very much for the support

best regards,


1 Answers
Abu Ghufran answered 5 years ago

You can pass sql query with WHERE clause in select_command.

$g = new jqgrid();

$g->select_command = "<YOUR-SQL>";

Your Answer

0 + 7 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!