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

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -