Hi again
You can also write it as:
If (($salutation != "Please select")....
Print ("Sorry, please select a value in the salutation box");
Tom



At 08:29 PM 20/04/2002, Tom Rogers wrote:
>Hi
>You need to use the double = in the if condition like
>
>If ((!$salutation=="Please select")....
>Print ("Sorry, please select a value in the salutation box");
>
>Tom
>
>
>At 08:17 PM 20/04/2002, Denis L. Menezes wrote:
>>Hello friends,
>>
>>I have a registration form with a salutation field in a listbox, in which I
>>want that the registrant must choose a value other than the default value of
>>"please select". So I wrote :
>>
>>If ((!$salutation="Please select")....
>>Print ("Sorry, please select a value in the salutation box");
>>
>>However, it does not work. Can someone please help?
>>
>>Denis
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>


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

Reply via email to