Re: [PHP] an if statement

2004-03-22 Thread John W. Holmes
Andy B wrote: was just wondering if the statement: if(!$name || !$comments){ /*whatever here*/ } would be interpreted as : if either $name or $comments doesn't exist then or how would the if statement be?? i need to check if the $name and $comments are empty/null because both $name and $commen

[PHP] an if statement

2004-03-22 Thread Andy B
was just wondering if the statement: if(!$name || !$comments){ /*whatever here*/ } would be interpreted as : if either $name or $comments doesn't exist then or how would the if statement be?? i need to check if the $name and $comments are empty/null because both $name and $comments are requi