Reply to Re: Problem with an array

Your name:

Reply:


Posted by Phil Latio on 12/18/06 09:40

> If the first statement evaluates to false, the other statement won't be
> checked.
> Try something along the lines of:
> if($newValidate->isEmpty($this->userName) ||
> !$newValidate->isEmpty($this->passWord))
>
>
> --
> Rik Wasmus

I replaced && with || and it worked !!!

Many thanks for the quick reply. I would have taken some time to work out it
was the use of && in the statement that was causing the problem.

Cheers

Phil

[Back to original 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

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