Re: sessions
| From: | Daniel Clark | Date: | Fri, 04 Jun 2004 12:26:04 +0000 |
| Subject: | Re: sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187616@lists.php.net to get a copy of this message | ||
Did you have session_start() on this page before accessing the session variables?
Could also do:
$name = "$_SESSION['first_name'] , $_SESSION['last_name']" ;
>>why is this not working. I am using instead of a form ($name =
>>$_POST[name];)
>>and linking to it from a users logged in page.
>>
>>$FirstName = $_SESSION['first_name'];
>>$LastName = $_SESSION['last_name'];
>>$name = "$FirstName , $LastName";
>>
>>Mark
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>