IF command
| From: | ron.php | Date: | Fri, 19 Oct 2007 00:49:55 +0000 |
| Subject: | IF command | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-263341@lists.php.net to get a copy of this message | ||
When $component_reference is 5 or 19 I don't want the echo statement to
output to the screen. What is the correct syntax? What I have below isn't
working. Thanks for your help. Ron
if ( ($component_reference != "5") OR ($component_reference != "19") ) {
echo "<li><a href=\"index.php?request=" . $request . "\">"
.
$component_name . "</a>";
}