Can I also write that like the following?

if (strcmp($pick1,$pick2) == 0)
 {
   perform some action;
 }

that will work, but I prefer
Can I also write that like the following?

if (!strcmp($pick1,$pick2))
 {
   perform some action;
 }
Cheers

Phil


--
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