--- branches/pear-db/include/xx_mysql.php 2004/03/18 22:56:02 81 +++ branches/pear-db/include/xx_mysql.php 2004/03/18 23:15:39 82 @@ -33,7 +33,11 @@ } function xx_query($sql, $con) { - return mysql_query($sql, $con); + $ret = mysql_query($sql, $con); + if (! $ret) { + print "Error in SQL:
$sql
"; + } + return $ret; } function xx_select_db ( $db_nam, $con ) {