Welcome Guest, Not a member yet? Register   Sign In
Joining on four tables.
#7

[eluser]Matalina[/eluser]
select statements are a string not an array. So you have to take out all those extra quotes and commas

Code:
$this->db->select('country.name AS cname, state.name AS sname, city.name AS ccname, register.id AS rid, register.name AS rname, register.email AS remail');


Messages In This Thread
Joining on four tables. - by El Forum - 03-22-2012, 05:34 AM
Joining on four tables. - by El Forum - 03-22-2012, 06:13 AM
Joining on four tables. - by El Forum - 03-23-2012, 08:40 PM
Joining on four tables. - by El Forum - 03-23-2012, 09:50 PM
Joining on four tables. - by El Forum - 03-23-2012, 09:52 PM
Joining on four tables. - by El Forum - 03-24-2012, 06:55 AM
Joining on four tables. - by El Forum - 03-26-2012, 06:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB