php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27464 Duplicate record inserts
Submitted: 2004-03-02 13:31 UTC Modified: 2004-03-02 13:33 UTC
From: lecas92 at lybertysurf dot fr Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.3.4 OS: XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lecas92 at lybertysurf dot fr
New email:
PHP Version: OS:

 

 [2004-03-02 13:31 UTC] 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;


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-02 13:33 UTC] derick@php.net
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.

.
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Mar 28 12:03:45 2023 UTC