• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Printing particular variable of a session

#1
[eluser]veledrom[/eluser]
Hi,

This is my session content:

Code:
Array
(
    [session_id] => b5bc906a59c653a28c6fb5ea39fe4ce1
    [ip_address] => 127.0.0.1
    [user_agent] => Mozilla/5.0 ...........
    [last_activity] => 1326457999
    [user_data] =>
    [step_one] => Array
        (
            [text_mem_number] => 1111111111
            [text_surname] => Mysurname
        )

How can I just echo text_surname without going through many steps?

Thanks in advance


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.