Welcome Guest, Not a member yet? Register   Sign In
MySQLi delete in multiply tables
#10

@Narf maybe the userguide needs updating then because what he had is exactly what it shows:
http://www.codeigniter.com/user_guide/da...eting-data
Code:
$tables = array('table1', 'table2', 'table3');
$this->db->where('id', '5');
$this->db->delete($tables);
Reply


Messages In This Thread
MySQLi delete in multiply tables - by xmod - 05-15-2015, 08:02 AM
RE: MySQLi delete in multiply tables - by gadelat - 05-16-2015, 01:38 AM
RE: MySQLi delete in multiply tables - by xmod - 05-16-2015, 10:59 AM
RE: MySQLi delete in multiply tables - by CroNiX - 05-16-2015, 04:01 PM
RE: MySQLi delete in multiply tables - by xmod - 05-17-2015, 01:08 AM
RE: MySQLi delete in multiply tables - by gadelat - 05-17-2015, 05:25 AM
RE: MySQLi delete in multiply tables - by xmod - 05-17-2015, 05:45 AM
RE: MySQLi delete in multiply tables - by CroNiX - 05-17-2015, 09:55 AM
RE: MySQLi delete in multiply tables - by Narf - 05-18-2015, 12:47 AM
RE: MySQLi delete in multiply tables - by CroNiX - 05-18-2015, 07:39 AM
RE: MySQLi delete in multiply tables - by Athov - 05-18-2015, 07:53 AM
RE: MySQLi delete in multiply tables - by Narf - 05-20-2015, 03:20 PM
RE: MySQLi delete in multiply tables - by Narf - 07-02-2015, 01:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB