Bug #18106 Updated: mysql_db_query - insert returns wrong status
| From: | derick@php.net | Date: | Tue, 02 Jul 2002 08:19:22 +0000 |
| Subject: | Bug #18106 Updated: mysql_db_query - insert returns wrong status | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12777@lists.php.net to get a copy of this message | ||
ID: 18106
Updated by: derick@php.net
Reported By: info@fitnesswelt.com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Suse Linux
PHP Version: 4.1.2
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-07-02 04:18:20] info@fitnesswelt.com
At our website we insert some datasets into tables and ask if it was
successfull or not in this manner:
$query = "insert into ....";
if (mysql_db_query("my_database",$query) == FALSE){ echo "error save
data: " . mysql_error();
} else {....
But since we have updated to version 4.1.2 - we always get this status
although the dataset is saved well.
This behaviour is in all our insert queries, I didn't chek if other
kind of SQL-statements have the same behaviour.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18106&edit=1