Date: 08/19/98
- Next message: Bug Database: "[PHP-DEV] Bug #667 Updated: Wrong timeout value displayed in error message"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 665
Updated by: zeev
Reported By: tom <email protected>
Status: Closed
Bug Type: MySQL related
Assigned To:
Comments:
There can be a thousand things going wrong, but the bottom
line is that the SQL query fails. To discover what's going
on, set error_reporting all the way up before issuing the
SQL query:
error_reporting(E_ALL);
Then, make sure you check the return value from mysql()
is valid - this is always a good practice:
$ine = mysql(...);
if (!ine) {
echo "SQL query failed: ".mysql_error();
exit;
}
The chances of this being a bug in PHP are very slim.
Full Bug description available at: http://ca.php.net/bugs.php3?id=665
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #667 Updated: Wrong timeout value displayed in error message"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

