Codeigniter dbutil backup question |
I am creating a backup controller form where I can select and unselect table names that I want to back up.
As shown here PHP Code: public function backup_database() { Currently I have to add each table name manually like in code below PHP Code: public function backup_codeigniter($tables) { I have passed a variable called $tables on the model function. Question: Instead of me entering the table name manually, How can I pass that variable correct so I do not have to enter each table name manually. Do I need to use array? Is it safe to just have 'tables' => $tables
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Codeigniter dbutil backup question - by wolfgang1983 - 07-07-2015, 04:50 AM
RE: Codeigniter dbutil backup question - by mwhitney - 07-07-2015, 07:39 AM
RE: Codeigniter dbutil backup question - by wolfgang1983 - 07-08-2015, 03:03 AM
RE: Codeigniter dbutil backup question - by skunkbad - 07-07-2015, 08:42 AM
|