Welcome Guest, Not a member yet? Register   Sign In
How to output SQL query? [SOLVED]
#1

[eluser]Frychiko[/eluser]
Hi,

How can I output a SQL query to the screen?

When I have errors in my query I like to output it on screen and paste it into phpmyadmin to debug.

cheers!

EDIT: Stupid me, it was in the documentation:

echo $this->db->last_query();


Messages In This Thread
How to output SQL query? [SOLVED] - by El Forum - 08-04-2008, 09:30 AM
How to output SQL query? [SOLVED] - by El Forum - 08-04-2008, 10:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB