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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alex at iniciando dot com
New email:
PHP Version: OS:

 

 [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: Sun Nov 10 00:01:28 2024 UTC