Re: [PHP] perplexed as to why this is happening...

2002-11-24 Thread Kyle Gibson
Howdy, I'm doing a simple db check.. grabbing a db value, in this case $sec, based on the user name registered in the session, I've created a user called test with $sec equal to "2" but when i get to the second echo of $sec the value has changed to "1" and I can't understand why... can some one p

RE: [PHP] perplexed as to why this is happening...

2002-11-24 Thread Peter Houchin
thanks for that .. I must be going blind :) > -Original Message- > From: Michael Hazelden [mailto:[EMAIL PROTECTED]] > Sent: Monday, 25 November 2002 11:44 AM > To: 'Peter Houchin'; php_gen > Subject: RE: [PHP] perplexed as to why this is happening... > >

RE: [PHP] perplexed as to why this is happening...

2002-11-24 Thread Michael Hazelden
Ahem ... $sec=1 means "set $sec to 1" You want $sec==1 :-) M. -Original Message- From: Peter Houchin [mailto:[EMAIL PROTECTED]] Sent: 25 November 2002 00:53 To: php_gen Subject: [PHP] perplexed as to why this is happening... Howdy, I'm doing a simple db check.. grab

[PHP] perplexed as to why this is happening...

2002-11-24 Thread Peter Houchin
Howdy, I'm doing a simple db check.. grabbing a db value, in this case $sec, based on the user name registered in the session, I've created a user called test with $sec equal to "2" but when i get to the second echo of $sec the value has changed to "1" and I can't understand why... can some one p