save and back to the list not working
- Single Page
Posted 23 December 2012 - 07:56 AM
{"success":true,"insert_primary_key":247,"success_message":"<p>Your data has been successfully stored into the database. <a href='http:\/\/localhost\/test\/index.php\/welcome\/client\/edit\/247'>Edit CLIENT<\/a> or <a href='http:\/\/localhost\/test\/index.php\/welcome\/client'>Go back to list<\/a><\/p>","success_list_url":"http:\/\/localhost\/test\/index.php\/welcome\/client\/success\/247"}
[attachment=404:Untitled.png]
where is the problem? my controller code is bellow
public function client() {
$crud = new grocery_CRUD();
$crud->set_theme('datatables');
$crud->set_subject('CLIENT');
$crud->set_table('client');
$crud->display_as("cname", "Client")
->display_as("cid", "ID");
$crud->columns("cname", "cid", "area", "phone", "mobile", "address");
$crud->add_fields("cname", "cid", "area", "phone", "mobile", "address");
$output = $crud->render();
$this->_example_output($output);
}
Posted 23 December 2012 - 09:40 AM
Try update the library.
Posted 14 February 2013 - 08:24 AM
Same issue with me how to update as i m new on php as well as grocery crud
Posted 14 February 2013 - 21:52 PM
There must be some problem with the javascript on your browser.