Hi, I am new to grocery crud and I follow the newbie tutorial here
http://www.grocerycr...gniter-tutorial
... and its working well, BUT when I make another table, named "items" and try to do this..
function items
{
$crud = new grocery_CRUD();
$crud->set_table('items');
$output = $crud->render();
print_r($output);
die();
}
it throws this error :
-
Error Number: 1064
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 'FROM `items`' at line 2
SELECT `items`. FROM `items`
Filename: D:/XAMPP/htdocs/cobagrocery/system/database/DB_driver.php
Line Number: 691
-
Why is this?