RE: [PHP] Unexplained Timeout
| From: | Rasmus Lerdorf | Date: | Tue, 17 Jul 2001 00:55:29 +0000 |
| Subject: | RE: [PHP] Unexplained Timeout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58155@lists.php.net to get a copy of this message | ||
Well, get rid of the quotes around $z="1"; and "$Number_Children" to start
with. Then print out $z inside the loop to see what it is doing. Surely
it is somehow not hitting the condition.
-Rasmus
On Mon, 16 Jul 2001, Jeff Oien wrote:
> I don't know. :) I tried again without $Number_Children in quotes
> and still get the timeout but on a different line (3 lines down). It
> seems it isn't necessarily a specific line causing it.
> Jeff Oien
>
> > Why is "$Number_Children" in quotes?
> >
> > On Mon, 16 Jul 2001, Jeff Oien wrote:
> >
> > > I know $Number_Children is 2. I printed it. And $z starts out as 1.
> > > I don't think that's it.
> > > Jeff Oien
> > >
> > > > > while ($z <= "$Number_Children") {
> > > > > >>error> if (${"element2$z"} == "select") {
> > > >
> > > > Looks to me like $z is never reaching $Number_Children.
> > > >
> > > > Jason
> > > >
> > >
> > >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>