Hello, Andy!
You wrote  on Mon, 22 Mar 2004 22:59:02 -0500:

 AB> was just wondering if the statement:
 AB> if(!$name || !$comments){
 AB> /*whatever here*/ }

 AB> would be interpreted as : if either $name or $comments doesn't exist
 AB> then....

 AB> or how would the if statement be?? i need to check if the $name and
 AB> $comments are empty/null because both $name and $comments are
 AB> required to continue in the site (to make a post)..
Maybe?..

if (!isset($name) || !isset($comments))
{
     /*whatever here*/
}

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to