How about something like this: if (($s_field >= 1) && ($s_field <= 10)) { do something; } else { do something else; }
>>> Jaishree Rangaraj <[EMAIL PROTECTED]> 05/14/02 04:58PM >>> Hello I have a value say "$s_field". I have to see if this matches with in the range 1-10 can I use eq operator for this. I am a beginner , please help me to do this. Thanks Jessie --------------------------------- Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CONFIDENTIALITY NOTICE: This message may contain legally confidential and privileged information and is intended only for the named recipient(s). No one else is authorized to read, disseminate, distribute, copy, or otherwise disclose the contents of this message. If you have received this message in error, please notify the sender immediately by e-mail or telephone and delete the message in its entirety. Thank you. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ <<<<GWIASIG 0.06c>>>> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]