erm....shouldnt that be
if($month == "00" ) {
....
?
Dave
----- Original Message -----
From: "Richard Kurth" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 12:35 PM
Subject: [PHP] verifying that a dropdown was selected
>
> I have a dropdown box that is for selecting the month How can I be
> verified that the customer has selected one of the months. I am using
> verification like this but it does not do what I want for a dropdown
> box it works fine for regular fields
>
> if ($month == "") {
>
> $month_err = "
> <font color=red>Please enter the Month of expiration!</font><br>
> ";
> $send = "no";
>
>
>
>
> <select name='month' size='1'>
> <option value='00' ></option>
> <option value='01' >01</option>
> <option value='02'>02</option>
> <option value='03'>03</option>
> <option value='04'>04</option>
> <option value='05'>05</option>
>
>
>
>
>
>
>
>
>
>
>
> Best regards,
> Richard
> mailto:[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]
--
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]