SQL where conditions

QuestionsSQL where conditions
Leonardo Nencioni asked 5 years ago

Hi,
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,

Leonardo

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

9 + 8 =

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:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!