I have downloaded the latest source code of PhpGrid. It is a amazing to see the php is being created. While running through the application could find that select query always fetches from 'clients' table. I would like to try further with different tables.
Having said that, i have gone through the Docs> getting started where there is PHP code snippet to get a page with db connection and table query. I managed to change the table from 'clients' to 'store'.
// set database table for CRUD operations
$g->table = "clients"; <—— (changed to 'store').
Tried to save this php file as index.php and ran through http://localhost/phpgrid/ for the webpage to pick up the table store with data grid display. But the page loaded with error (Page cannot be displayed).
Is there any configuration that needs to be changed.
I wanted a same index.php displaying data grid pointing to any other table like store, country etc.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?