note 33774 added to ref.session

From: Date: Mon, 07 Jul 2003 14:55:00 +0000
Subject: note 33774 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-51631@lists.php.net to get a copy of this message
To the June 30th poster, You could also wrap it in braces. This applies to all such references, not just the $_SESSION array. Instead of: username='".$_SESSION['username']."'"; use: username='{$_SESSION['username']}'"; ---- Manual Page -- http://www.php.net/manual/en/ref.session.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33774 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33774&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33774&report=yes

« previous php.notes (#51631) next »