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?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to