Re: Re: [PHP] comparisons

From: Date: Sun, 11 Feb 2001 22:11:57 +0000
Subject: Re: Re: [PHP] comparisons
Groups: php.general 
Request: Send a blank email to php-general+get-39148@lists.php.net to get a copy of this message
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

« previous php.general (#39148) next »