Hello,

Can someone tell me what wrong or to how to manage this?

//default
$limitorig = 10;

echo "<select name=\"USRlimitorig\">";
echo "<option selected value=>$limitorig</option>";
echo "<option>10</option>";
echo "<option>20</option>";
echo "<option>30</option>";
echo <input type=\"submit\" name=\"resetlimit\" value=\"GO\">";

When the form is first printed the selected default (10) value is shown OK 
and if something is selected everything is fine. If I just hit "GO" without 
changing the select menu the form fails because USRlimitorig will be empty. 
So how to post the $limitorig if user doesn't change it but hits "GO" 
anyway?

Thanks
-Will

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to