On Tue, 02 Nov 2004 12:17:45 -0600, Jeff Oien <[EMAIL PROTECTED]> wrote: > if ($Promotion_Sub == 'Checked' && ($code != 'D04E' || $code != 'Y04KG')) {
($code != 'D04E' || $code != 'Y04KG') Since $code cannot equal two different values at once, this will always evaluate to true. Maybe you meant && instead of ||. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php