I'm trying to run some tests with EasyUI beginning with the basic crud. I've sorted the database, tested conn.php and get_users.php displays the data it should. But when I run index.html I get the screen, displayed perfectly but no records
- displaying 0 to 0 of 0 items.
Here is the output from get_users.php.....
{"total":"13","rows":[{"id":"3","firstname":"fname1","lastname":"lname1","phone":"(000)000-0000","email":"name1@gmail.com"},{"id":"4","firstname":"fname2","lastname":"lname2","phone":"(000)000-0000","email":"name2@gmail.com"},{"id":"5","firstname":"fname3","lastname":"lname3","phone":"(000)000-0000","email":"name3@gmail.com"},{"id":"7","firstname":"fname4","lastname":"lname4","phone":"(000)000-0000","email":"name4@gmail.com"},{"id":"8","firstname":"fname5","lastname":"lname5","phone":"(000)000-0000","email":"name5@gmail.com"},{"id":"9","firstname":"fname6","lastname":"lname6","phone":"(000)000-0000","email":"name6@gmail.com"},{"id":"10","firstname":"fname7","lastname":"lname7","phone":"(000)000-0000","email":"name7@gmail.com"},{"id":"11","firstname":"fname8","lastname":"lname8","phone":"(000)000-0000","email":"name8@gmail.com"},{"id":"12","firstname":"fname9","lastname":"lname9","phone":"(000)000-0000","email":"name9@gmail.com"},{"id":"13","firstname":"fname10","lastname":"lname10","phone":"(000)000-0000","email":"name10@gmail.com"}]}
index.html is "as downloaded" except all the urls are local.
I can get the drag and drop and the datagrid to work - its just this app with the database connection that fails.
I must be missing something simple !
Thanks
Peter
PS. 10/11 I've added the output from get_users.php which surely shows the db connection is ok. Is there some addtional .js file I'm missing ? I completely baffled as to why no records appear !