Re: Error Code Airhead

From: Date: Tue, 02 Nov 2004 18:46:33 +0000
Subject: Re: Error Code Airhead
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-200947@lists.php.net to get a copy of this message
On Tue, 02 Nov 2004 12:17:45 -0600, Jeff Oien <jeff@webdesigns1.com> 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/

« previous php.general (#200947) next »