Jump to content

Session


jduffell

Recommended Posts

Yep.. lots of ways

 

the easy option is

Option #1

$_SESSION['name']['leftleg'] = $Row['leftleg'];
$_SESSION['name']['rightleg'] = $Row['rightleg'];

 

Option #1 (yes this is still option 1)

$_SESSION['name'] = array('leftleg' => $Row['leftleg'], 'rightleg' => $Row['rightleg']);

 

to get the data

echo $_SESSION['name']['leftleg'];
echo $_SESSION['name']['rightleg'];

Link to comment
https://forums.phpfreaks.com/topic/151570-session/#findComment-796044
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.