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
>>


Reply via email to