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. :)
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 "
>       <html>
>       <head>
>       <title>Error</title>
>       </head>
>       <body bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#0000ff\" 
> vlink=\"#660099\">
>       <h3>Error</h3>
> 
>       Required information was missing:
>       <ul>";
> 
>       $z = "1";
> 
>       while ($z <= "$Number_Children") {
>       if (${"element2$z"} == "select") {
>               echo "<li>Please make a selection for Child $z</li>";
>               }
>               if ((${"year$z"}).(${"month$z"}).(${"day$z"}) >= 20000401 &&
> (${"year$z"}).(${"month$z"}).(${"day$z"}) >= 19980902) {
>               if (${"coopmonth$z"} == "select") {
>               echo "<li>Please select coop month to serve for Child $z</li>";
                }
missing>        
>       $z++;
>       }
extra> }
>       echo "
>       </ul>
>       Please use your <a href=\"javascript:history.go(-1);\">Back 
> button</a> and try again
> (please do <b>not</b> Reload or Refresh your browser)
>       </body>
>       </html>
>       ";
>       exit;
> }
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to