Solve duplicate data in MySQL and PHP
Budget: $10 – $30 USD
Now 2 or more records are created when doing an INSERT INTO to the database from PHP, after a few seconds the requested record is created. This happens randomly, for this reason I can't check the problem. It is not because the “Save” button is pressed several times. (See capture)
I need a real solution from someone who has had the same problem.
I am using $db->commit(); and $db->beginTransaction();
I need a real solution from someone who has had the same problem.
I am using $db->commit(); and $db->beginTransaction();