PHP MYSQL query returns false, how to debug
Posted: Thu Nov 13, 2008 11:58 am
If a query simply returns false and the mysql log doesn't have any information, how would you go about debugging this? Thanks.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$result = mysql_query(...);
if($result === false) {
echo mysql_error($result);
}