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") {
>>error>        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>";
                }
        $z++;
        }
}
        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]

Reply via email to