Re: if(($mydata->address

From: Date: Wed, 01 Jun 2005 18:39:00 +0000
Subject: Re: if(($mydata->address
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-216164@lists.php.net to get a copy of this message
> This should be easy, but refuses to work: > if( > ($mydata->address != "") > and > ($mydata->addresspublic == "yes") > ) > { > } Are you getting any errors? If so, what are they? Also, shouldn't the code look like this: if( ($mydata->address != "") && ($mydata->addresspublic == "yes") ) { } ? thnx, Chris

« previous php.general (#216164) next »