classes/database.php
/*
	 * Print out all of the queries run using <pre> tags
	 */
Print out all of the queries run using  tags
Print out all of the queries run using tags
public function print_queries()
	{
		if( ! $this->queries)
		return;
		foreach($this->queries as $query)
		{
			list($sql, $time) = $query;
			print '<pre>'.h($sql). "\n/* Query Time: ". round($time, 5)." */</pre>\n\n";
		}
	}
public function print_queries ( ) { if ( ! $ this -> queries ) return ; foreach ( $ this -> queries as $ query ) { list ( $ sql , $ time ) = $ query ; print '<pre>' . h ( $ sql ) . " \n /* Query Time:  " . round ( $ time , 5 ) . "  */</pre> \n \n " ; } }
Print out all of the queries run using <pre> tags
Print out all of the queries run using <pre > tags
// Highlight the SQL