Freedom-n-Democrazy Posted October 8, 2011 Share Posted October 8, 2011 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']; ? Quote Link to comment https://forums.phpfreaks.com/topic/248681-adding-session-entity-from-a-html-form-input/ Share on other sites More sharing options...
Freedom-n-Democrazy Posted October 8, 2011 Author Share Posted October 8, 2011 $_SESSION['delivery']['name'] = $_POST['name']; Quote Link to comment https://forums.phpfreaks.com/topic/248681-adding-session-entity-from-a-html-form-input/#findComment-1277172 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.