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]
- [PHP] comparisons Curtis Maurand
- RE: [PHP] comparisons PHPBeginner.com
- Re: [PHP] comparisons Christian Reiniger
- Re: [PHP] comparisons Phil Driscoll
- Re: [PHP] comparisons Curtis Maurand
- Re: Re: [PHP] comparisons Phil Driscoll
- Re: Re: [PHP] comparisons Curtis Maurand
- [PHP] comparisons Warwick Berg
- [PHP] Re: comparisons Jason Sheets
- RE: [PHP] comparisons Rick Emery
- Re: [PHP] comparisons Andrey Hristov
- RE: [PHP] comparisons Rick Emery
- RE: [PHP] comparisons Rick Emery
- Re: [PHP] comparisons Andrey Hristov
- RE: [PHP] comparisons Rick Emery

