[PHP] This is driving me to drink...

2001-05-01 Thread Richard S. Crawford
...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

Re: [PHP] This is driving me to drink...

2001-05-01 Thread Jack Dempsey
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:

RE: [PHP] This is driving me to drink...

2001-05-01 Thread Johnson, Kirk
] This is driving me to drink... ...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

Re: [PHP] This is driving me to drink...

2001-05-01 Thread Richard S. Crawford
Problem solved. Boy, that was easy. The database was adding trailing spaces to the codes (so that MNE was actually MNE and so on). $p_code=trim($p_code) did the trick. I could still use that Bushmill's, though. At 03:57 PM 5/1/2001 -0700, Richard S. Crawford wrote: ...But my boss won't

RE: [PHP] This is driving me to drink...

2001-05-01 Thread Ralph Guzman
S. Crawford [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 3:58 PM To: [EMAIL PROTECTED] Subject: [PHP] This is driving me to drink... ...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