Welcome Guest, Not a member yet? Register   Sign In
How to use $this->db->empty_table() for many tables?
#1

[eluser]shinokada[/eluser]
I have 20 tables to empty.

When I use it following the first one does not work. And the second method only empties the first table.

What is the best way to empty many tables?
Do I have empty one by one?

Thanks in advance.

Code:
// first
$tables = array('table1','table2',....)
$this->db->empty_table($tables);    

// second
$this->db->empty_table('table1','table2',....);


Messages In This Thread
How to use $this->db->empty_table() for many tables? - by El Forum - 04-06-2010, 02:40 PM
How to use $this->db->empty_table() for many tables? - by El Forum - 04-06-2010, 02:49 PM
How to use $this->db->empty_table() for many tables? - by El Forum - 04-06-2010, 02:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB