SQL where conditions

QuestionsSQL where conditions
Leonardo Nencioni asked 7 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 7 years ago

You can pass sql query with WHERE clause in select_command.

$g = new jqgrid();

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

Your Answer

0 + 4 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?