note 9297 rejected and deleted from PHP Manual by jmcastagnetto

From: Date: Fri, 27 Oct 2000 09:45:46 +0000
Subject: note 9297 rejected and deleted from PHP Manual by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-7046@lists.php.net to get a copy of this message
Help... I'm writing some PHP code that inserts information into a mysql database and it uses a loop that inserts several rows of the database in quick succession. Somehow, that is too fast for mysql and I only get the first one of the inserts completed. As a quick fix, I put in a 1 second sleep before each insertion and that seems to have resolved the problem but that seems to be a bit of a clumsy solution. Is there something better? Thanks, Chad.

« previous php.notes (#7046) next »