adding debugging code

This commit is contained in:
Dan Olson 2000-06-16 20:26:48 +00:00
parent 3e9f4b5f52
commit 297996e08e

View file

@ -1,11 +1,12 @@
<?
need('date sql');
$conn = @mysql_pconnect (sqlHost, sqlUser, sqlPass);
if ($conn) {
$query = 'SELECT p_date, p_user, p_plan FROM devel_plans' .
'WHERE p_plan != \'None\' ORDER BY p_date DESC, p_user';
$result = @mysql_db_query (sqlDB, $query, $conn);
newsItem ('now', 'theoddone33', "<p>result is $result");
if ($result) {
$numRows = @mysql_num_rows ($result);
if ($numRows) {