You are here: Re: if null=true « All PHP « IT news, forums, messages
Re: if null=true

Posted by J.O. Aho on 03/09/06 13:27

Steve wrote:
> the first one is nicer but thats if it is null and i want to do it so
> if it isnt null! the second one returns the same error about an
> unexpected '='
>

"!" is the same as not

!isnull() is the same as "not isnull()" of "insnull() is false"


I'm sorry, but the second (the ugly one) should have been


if (isnull($number1)==false) {
...
}


//Aho

 

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

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