Welcome Guest, Not a member yet? Register   Sign In
Difference between db->insert and db->insert_string
#1

[eluser]rahendz[/eluser]
i'm just curious, first sorry for my bad english

1. is there any difference between insert function with insert_string function?

2. could i retrieve insert_id when running insert_string like insert function?

3. could i do something like this

Code:
return $this->db->insert($table,$data)->insert_id();

thanks before.


Messages In This Thread
Difference between db->insert and db->insert_string - by El Forum - 06-30-2014, 04:39 AM
Difference between db->insert and db->insert_string - by El Forum - 06-30-2014, 10:36 AM
Difference between db->insert and db->insert_string - by El Forum - 06-30-2014, 12:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB