> -----Original Message-----
> From: Bryan Brannigan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 9:03 AM
> Subject: [PHP] mysql_fetch_row problem
> $db = mysql_connect("localhost", "webapp");
> mysql_select_db("helpdesk",$db);
> $result = mysql_query("SELECT contactemail FROM loc WHERE ...
Try putting the sql into a var, using that in the mysql_query, and
adding:
if (!$result) {
echo "Sql was: $sql<br>\n";
echo mysql_error();
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php