RE: [PHP] Unexplained Timeout

2001-07-16 Thread Jeff Oien
I found out what was most likely the problem. I had missing bracket and then an extra one. I marked them as such below. In any case I learned a whole bunch more stuff in the process. Thank you very much for your help. And sorry Jason didn't mean to make it look like I snubbed you or anything. :)

Re: [PHP] Unexplained Timeout

2001-07-16 Thread Christopher Ostmo
Jeff Oien pressed the little lettered thingies in this order... One more thing... > >>error> if (${"element2$z"} == "select") { I'm not sure f this has anything to do with it, but I have never made variable variables work when specified like the above. Try: ${"element2".$z} I quite hon

Re: [PHP] Unexplained Timeout

2001-07-16 Thread Christopher Ostmo
Jeff Oien pressed the little lettered thingies in this order... > I get a 30 timeout on the line indicated when executing this code > and can't figure it out. Does anyone know why? Thanks. > Jeff Oien > You should pay attention to which variables are in quotes and which are not. PHP (and ever

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Jason Murray
> Surely it is somehow not hitting the condition. > -Rasmus I coulda sworn I said that ;) But then I guess it carries more weight when Rasmus says it... Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" -- PHP General Mailing List (http://www.php.n

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Rasmus Lerdorf
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 i

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Jeff Oien
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

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Rasmus Lerdorf
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

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Jeff Oien
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 Mailin

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Jason Murray
> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[PHP] Unexplained Timeout

2001-07-16 Thread Jeff Oien
I get a 30 timeout on the line indicated when executing this code and can't figure it out. Does anyone know why? Thanks. Jeff Oien - if ($missing == "1") { echo " Error Error Required information was missing: