I want to use php variable as table for the phpGrid as code shown below:
$g->select_command = “select * from $getRange ” ;
$g->table = ” $getRange “;
it keeps given errors as follows:
Couldn’t execute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE 1=1 LIMIT 1 OFFSET 0’ at line 1 – select * from WHERE 1=1 LIMIT 1 OFFSET 0
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?