note 9297 added to PHP Manual

From: Date: Thu, 26 Oct 2000 15:10:17 +0000
Subject: note 9297 added to PHP Manual
Groups: php.notes 
Request: Send a blank email to php-notes+get-7021@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. http://www.php.net/manual/manual.php

« previous php.notes (#7021) next »