You are here: C97net • 5.02 Database Functions
A shortcut for mysql_query ()
function sql_query ($sql, $debug = 0)
This is a shortcut for mysql_query (), only when there is an error in mysql query, it will produces the error message, and halt the script.
$sql = the mysql query.
$debug = when true, will output the query sent to mysql.
There is no comment. Why not be the first?