note 9299 rejected and deleted from mysql_query by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Fri, 27 Oct 2000 09:52:29 +0000 |
| Subject: | note 9299 rejected and deleted from mysql_query by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7049@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.