Welcome Guest, Not a member yet? Register   Sign In
Last_Query Function... HELP
#1

[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();
$store->get();
echo $store->db->last_query();

which results in:

DESCRIBE `loc_stores`

Any thoughts on to how to get this to show correctly?


Messages In This Thread
Last_Query Function... HELP - by El Forum - 08-14-2012, 04:46 PM
Last_Query Function... HELP - by El Forum - 08-15-2012, 11:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB