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
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...
>
>
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
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
4 matches
Mail list logo