ID: 20700 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: RedHat Linux 7.x PHP Version: 4.2.3 New Comment:
Update: By the way...the entry in the database is "12", not 18, and not 8212...hmm Previous Comments: ------------------------------------------------------------------------ [2002-11-28 09:26:29] [EMAIL PROTECTED] Hey, I`m using the $_SESSION array at all my session stuff, Now is the first time at the actual script that i need to store a integer in the session. I did this: $_SESSION[uid] = $result[uid]; echo $result[uid]; echo $_SESSION[uid]; Both returned "18". Now as I tried to echo the var again, It outputs "8212". I`ve tried to find any error at my script (maybe an access or change to the $_SESSION[uid] field...but nothing found). Maybe this is a bug? I`m a little bit confused now, because $_SESSION array should be used at best, and It doesn`t work :-( BTW, The fieldtype in the mysql db is 'TINYINT' Any idea? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20700&edit=1
