Re: Problem with inserting numbers...

From: Date: Thu, 11 Aug 2011 02:32:22 +0000
Subject: Re: Problem with inserting numbers...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-314480@lists.php.net to get a copy of this message
when $num++; executed $num will never be '10000'; you may change the while loop to while ($num < 10000) { while ($row = ... 2011/8/11 Jason Pruim <pruimj@gmail.com> > On Aug 10, 2011, at 9:36 PM, MUAD SHIBANI wrote: > > > Basically you can increase time limit for this file to handle your > request by using > > set_time_limit function ... > > Hi Maud, > > Looked into set_time_limit and even tried running it with a value of "120" > but it didn't help... > > I'm affraid I have a problem with the way the 2 while loops are interacting > and creating a infinite loop... > > BUT... I'm thinking there must be a better way... Maybe a while with a > foreach? Now I'm just thinking outloud :) > > Jason Pruim > pruimj@gmail.com >

« previous php.general (#314480) next »