You are here: Re: [PHP] if(($mydata->address « PHP « IT news, forums, messages
Re: [PHP] if(($mydata->address

Posted by Marek Kilimajer on 06/01/05 21:48

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?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация