Welcome Guest, Not a member yet? Register   Sign In
Displaying the SQL - Error debugging
#3

[eluser]pickupman[/eluser]
You can use:
Code:
echo $this->db->last_query(); //display last query executed

Or in the controller change to:
Code:
function Your_controller() {
        
        parent::Controller();
        $this->output->enable_profiler('TRUE'); //Display all queries, benchmarks, $_REQUEST array
    }


Messages In This Thread
Displaying the SQL - Error debugging - by El Forum - 05-03-2010, 10:32 AM
Displaying the SQL - Error debugging - by El Forum - 05-03-2010, 04:45 PM
Displaying the SQL - Error debugging - by El Forum - 05-03-2010, 06:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB