![]() |
sql query to CI query - 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: sql query to CI query (/showthread.php?tid=57151) |
sql query to CI query - El Forum - 02-20-2013 [eluser]Unknown[/eluser] Need help to need to translate this mysql query to CI query in comparing two tables MYSQL query in which give me results in phpmyadmin Code: SELECT tb_payroll . *,tb_payroll2.* here's my controller+model function Code: function discrepancy(){ my views in which I used different type of queries to have some result Code: <?php sql query to CI query - El Forum - 02-21-2013 [eluser]rana[/eluser] So, you mean, your CI query not working, right? Are you getting some kind of error or so? If yes, please share the error, which will help us to get idea what is wrong more easily. Thanks. |