Jump to content

Selecting a session array value


sKunKbad

Recommended Posts

I need help with reassigning the value of $_SESSION['OfferListingId'][0], but what I have so far isn't working.

 

$Choice = $_GET['Choice']
$_SESSION['OfferListingId'][0] = $SESSION['OfferListingId']["$Choice"]; // line 106

 

Parse error: syntax error, unexpected T_VARIABLE in /home/content/mysite/html/abc.php5 on line 106

 

Please help!

Link to comment
https://forums.phpfreaks.com/topic/50037-selecting-a-session-array-value/
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.