From: lecas92 at lybertysurf dot fr Operating system: XP PHP version: 4.3.4 PHP Bug Type: MySQL related Bug description: Duplicate record inserts
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 bug report at http://bugs.php.net/?id=27464&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27464&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27464&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27464&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27464&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27464&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27464&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27464&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27464&r=support Expected behavior: http://bugs.php.net/fix.php?id=27464&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27464&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27464&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27464&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27464&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27464&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27464&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27464&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27464&r=float