$_CONFIG['db_last_query'] = $sql_string;
// Count this query
- if (getConfig('sql_count') == null) $_CONFIG['sql_count'] = 0;
- $_CONFIG['sql_count']++;
+ incrementConfigEntry('sql_count');
// Debug output
//* DEBUG: */ print "Query=<pre>".$sql_string."</pre>, affected=<b>".SQL_AFFECTEDROWS()."</b>, numrows=<b>".SQL_NUMROWS($result)."</b><br />\n";