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

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.

$store = new Store();
echo $store->db->last_query();

which results in:

DESCRIBE `loc_stores`

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

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.

Theme © iAndrew 2016 - Forum software by © MyBB