Last_Query Function... HELP - 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: Last_Query Function... HELP (/showthread.php?tid=53933) |
Last_Query Function... HELP - El Forum - 08-14-2012 [eluser]Unknown[/eluser] When trying to use the last_query() function I am getting a result of "DESCRIBE 'sometable'". I am using datamapper and have also tried using the check_last_query(), but get the same results. Here is an example of what I am doing. Code: $store = new Store(); which results in: DESCRIBE `loc_stores` Any thoughts on to how to get this to show correctly? Last_Query Function... HELP - El Forum - 08-15-2012 [eluser]Aken[/eluser] No way of knowing based on that code. We have no idea what $store->get() is supposed to do. Also if you're using DataMapper, there could be other code in there I'm not familiar with. |