php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4545 mysql_db_query returns false on insert/delete/update always!
Submitted: 2000-05-22 11:34 UTC Modified: 2000-07-20 21:14 UTC
From: alex at iniciando dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Release Candidate 2 OS: RedHat 6.0
Private report: No CVE-ID: None
 [2000-05-22 11:34 UTC] alex at iniciando dot com
mysql_db_query returns false on insert/delete/update an other non-select queries every time it's called. It returns false even when the DB did perform the operation successfully.

I'm usign PHP4.0RC2 (as a loadable module), MySQL 3.22.32, Apache 1.3.12 & RedHat 6.0. PHP3.0.16 (loaded at the same time with PHP4) works as expected on the same code.

Please email! It's not the first time I report this bug!!!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-09 05:07 UTC] zeev at cvs dot php dot net
Can you try to see whether this occurs when PHP 3.0 is not loaded as well?

I assume you use the versioning support;  Are you supplying the --with-mysql directive to PHP 4.0's configure script, or are you relying on the built-in MySQL support?  If you use PHP 4.0 in conjunction with PHP 3.0, you must supply EXACTLY the same --with-mysql directive to their configure scripts.
 [2000-07-20 21:14 UTC] mrobinso at cvs dot php dot net
No feedback since June on suggestion from Zeev.
Closing. Please reopen if suggestion did not
work and problem persists.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 10 06:01:26 2024 UTC