[snip]
Before I go screwing this code up I thought I would ask for the
formatting. How would you write the following in PHP?
if $entry not equal to "Copy Change"
OR
"Banner Change"
OR
"Price Change"
AND
$row['photo_check'] not equal to ""
[/snip]
There are several ways .... here is one....
if(("" != $row['photo_check']) && (("Copy Change" != $entry) || ("Banner
Change" != $entry) || ("Price Change" != $entry)))
Note the parentheses to define preference order.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php