> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php