$result_set = mysql_query("select * from tablename"); |
$query = " select * from subjects order by position "; $subject_set = mc_query($query); |
$a"; if ($debug) {echo " $a";} if ($debug_query) {echo " {$query_str}\n";} $result_set = mysql_query($query_str, $connection); if (!$result_set) { // this may not work - the "die" might need to be removed $debug_str .= "
|
// 0 means - do not print debug output $debug = 0; // print when subroutine starts $debug_query = 0; // print query strings $debug_trace = 0; // print $debug_str at end of output $debug_str = ""; // every subroutine adds to this |