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