Ed Curtis wrote:
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 ""
$valid_values = array("Copy Change","Banner Change","Price Change");
if (!in_array($entry,$valid_values) && !empty($row['photo_check']))
{
//do something
}
Please, RTM on basic syntax and conditional statements.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php