I have passed variable using POST method and in datagrid file I have written query as:
$g->select_command = "SELECT * FROM topicreport WHERE fac_name='" . fac . "'";
When I am using given POST and SESSION variable to write SELECT query then I am able to see records according to query but I am not able to "Edit" or "Delete" records but when I am using below written code:
$g->table = "topicreport"; OR
$g->select_command = "SELECT * FROM topicreport";
the I am able to Edit or Delete the Records.
Please debug the edit/del operations using firebug. It will tell the exact reason.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?