Welcome Guest, Not a member yet? Register   Sign In
Quick question! Multiple tables
#4

[eluser]kikz4life[/eluser]
what thdls55 saying is you must use join statement to select data from different tables.

Code:
$this->db->join('tablename1 a', 'a.fieldname1=tablename2.fieldname', 'left')
.......
then

select ....


Messages In This Thread
Quick question! Multiple tables - by El Forum - 10-28-2009, 10:36 AM
Quick question! Multiple tables - by El Forum - 10-28-2009, 10:47 PM
Quick question! Multiple tables - by El Forum - 10-30-2009, 12:07 AM
Quick question! Multiple tables - by El Forum - 10-30-2009, 01:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB