Welcome Guest, Not a member yet? Register   Sign In
Query from multiple tables
#2

[eluser]dUspan[/eluser]
$query = "SELECT * FROM tbl1 LEFT JOIN tbl2 ".
"ON tbl1.ID = tbl2.ID WHERE tbl1.id = 1"

$this->db->query($query);

try this.im not sure.but i hope it helps.


Big Grin


Messages In This Thread
Query from multiple tables - by El Forum - 05-01-2011, 01:12 AM
Query from multiple tables - by El Forum - 05-01-2011, 08:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB