How do I echo the session name in a foreach loop in PHP? -


I am looping through my session variable I am able to resize the values ​​of the session, I would like to resonate with the session name as well.

How do I unite session variables each time I loop it?

This is currently the code I have available:

  foreach ($$$ session as session) {echo is 'current session variable:' $ Value '& lt; Br / & gt; '; }  

this?

  foreach ($ _ session) $ key = & gt; $ Value} {echo 'current session variable' is' $ key ':'. $ Value '& lt; Br / & gt; '; }  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -