Jump to content

[SOLVED] How to store session value in a variable?


sayedsohail

Recommended Posts

Well, that particular line won't work since you've got two closing brackets and only one opening one. But yes you can read and write out of the $_SESSION superglobal the same you can $_POST,$_GET etc. I don't see why you would need to see escape the value as you were reading it out of session though.

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.