Jump to content

Adding session entity from a HTML form input


Recommended Posts

I am a little experienced with PHP sessions, but not totally as I haven't got my head completely around its logic yet, as your about to see.

 

I wonder wondering how I can go about adding a session entity from a HTML form input?

I'm guessing it will be something like:

$_POST['name'] => $_SESSION['delivery']['name'];

 

Then, to echo the session entity, you would simply do something like:

echo $_SESSION['delivery']['name'];

?

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.