![]() |
Using 2 Different MySQL Tables - 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: Using 2 Different MySQL Tables (/showthread.php?tid=47845) |
Using 2 Different MySQL Tables - El Forum - 12-24-2011 [eluser]Unknown[/eluser] Hello There, i want to use 2 different tables in my model to get one product <div>. for example: product and company are my tables. company informations are in my company table. there is a row called company_id in product table and i'm trying to find a code in order to get the company informations according to company_id where company_id is equal to id section of company table. Product 1 Company E-Mail Company Phone |