Re: if(($mydata->address
| From: | Marek Kilimajer | Date: | Wed, 01 Jun 2005 18:48:41 +0000 |
| Subject: | Re: if(($mydata->address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216161@lists.php.net to get a copy of this message | ||
John Taylor-Johnston wrote:
This should be easy, but refuses to work: if( ($mydata->address != "") and ($mydata->addresspublic == "yes") ) { } But in other combinations, they work? if($mydata->address != ""){} or if($mydata->addresspublic == "yes"){} So what new lesson am I to learn now? :)in both cases it does nothing... how do you consider one working and the other one not?