Can I use another database to my grocery crud?
$this->crud->set_table(' database1.tabel1 ');
$output = $this->crud->render();
And CI give error like this.
"The table name does not exist. Please check you database and try again."
I checked the database and tables that actually exist.
use another database that is not the same as the config database.php ?
Started by muonshirata, 20 March 2012 - 09:19 AM
- Single Page
Posted 20 March 2012 - 09:19 AM
Posted 20 March 2012 - 19:51 PM
Before the:
Just add this line:
$this->crud->set_table(' table1');
Just add this line:
$this->db = $this->load->database('database1',true);