Have you tried printing the values of $p_code and $neuroKey at various
stages? Perhaps there's a space or some other slight inconsistency...if
you could paste in the snippet, maybe we could see what was going on
before this that might have it acting strange...

-jack

"Richard S. Crawford" wrote:
> 
> ...But my boss won't let me keep the Bushmill's at my desk.  *sigh*
> 
> So, assuming that $p_code is "MNE" and $neuroKey is 2, then $hub should be
> 2, right?  Instead, it's coming up with 1, which is the value of
> $coreKey.  What have I missed?
> 
> 
> $hub=$coreKey;
> if (($p_code=="MNE")||($p_code=='SN')||($p_code=='PM'))
> {
>         $hub=$neuroKey;
> }
> else if ($p_code=="MAI")
> {
>         $hub=$allergyKey;
> }
> else if (($p_code=="SPS")||($p_code=="MCC"))
> {
>         $hub=$dermKey;
> }
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to