![]() |
trouble with left join - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: trouble with left join (/showthread.php?tid=32884) |
trouble with left join - El Forum - 08-08-2010 [eluser]Corbee[/eluser] Hi, I'm having sql error saying: Code: SELECT * from carmodel LEFT JOIN caryear ON caryear.modelID=carmodel.modelID LEFT JOIN carbrand ON caryear.brandID=carmodel.brandID WHERE brandID = '' AND modelID = '' This is my code for the model Code: $data = array(); Does anyone know what's wrong with this? Thanks! trouble with left join - El Forum - 08-08-2010 [eluser]Corbee[/eluser] nevermind, I found the error. |