#20700 [Opn->Bgs]: Boolean worked, but Integer..?

From: Date: Fri, 29 Nov 2002 06:50:20 +0000
Subject: #20700 [Opn->Bgs]: Boolean worked, but Integer..?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26136@lists.php.net to get a copy of this message
ID: 20700 Updated by: sniper@php.net Reported By: admin@doomedia.de -Status: Open +Status: Bogus Bug Type: Session related Operating System: RedHat Linux 7.x PHP Version: 4.2.3 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-11-28 09:28:04] admin@doomedia.de Update: By the way...the entry in the database is "12", not 18, and not 8212...hmm ------------------------------------------------------------------------ [2002-11-28 09:26:29] admin@doomedia.de 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

« previous php.bugs (#26136) next »