#27464 [Opn->Bgs]: Duplicate record inserts
| From: | derick@php.net | Date: | Tue, 02 Mar 2004 18:33:32 +0000 |
| Subject: | #27464 [Opn->Bgs]: Duplicate record inserts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-55794@lists.php.net to get a copy of this message | ||
ID: 27464
Updated by: derick@php.net
Reported By: lecas92 at lybertysurf dot fr
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: XP
PHP Version: 4.3.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2004-03-02 13:31:01] lecas92 at lybertysurf dot fr
Description:
------------
When I insert a record in Mysql Database, I have a duplicate record
inserts
My database is a Mysql database
My operating system is XP
Reproduce code:
---------------
$name = "myname";
$compagny = "mycompagny";
$req = "INSERT INTO MYTABLES (DATA1, DATA2) VALUES ('".$name."',
'".$compagny."')";
$res = mysql_query ($req, $base);
// The record is inserted into the table correctly, except for the fact
that it appears twice;
Expected result:
----------------
// The record is inserted into the table correctly, except for the fact
that it appears twice;
Actual result:
--------------
// The record is inserted into the table correctly, except for the fact
that it appears twice;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27464&edit=1