Inserting data simultaneously into a mysql database
Posted 02 December 2003 - 04:01 PM
The problem occurs when two users click on a link at almost the same time. This runs the script but only one of them is entered in the database the other is shown a defined error message \"Error inserting into database\".
Any ideas how I can get round this problem. I would really like know a fix for this problem as it will be helpful for a later day but is there a better way of find out who is online.
Posted 05 December 2003 - 02:31 AM
But maybe you could have the values stored into a .txt database to beginwith, and then have a script read through the values of that, and insert them into the DB.
Posted 05 December 2003 - 03:40 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users