You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed it works.
Thanks for your help, that is working as you mentionned.
I did not want back to the database as in the process. the user would login and select few item in his cart (shopping web site). When confirming his cart I wanted to send him an email with his cart content. If the email and other data are in the &_SESSION array I do not see added value to read it from the database.
Please correct me if I am wrong on my approach.
Thanks
Hello all,
I am trying to use the email of the user to send per email some additional information on one of my PHP script.
I am trying to use the session variable to exploit the email without success:
Here what I tried :
$_SESSION['userPieUser'][0]; or $_SESSION['userPieUser']['email']; without success.
When trying to see the content of this table array i got :
Array ( [userPieUser] => loggedInUser Object ( [email] => [email protected] [hash_pw] => f959274288efa86cded889c8c160e993828b1f8003dee1c8ece9966f6dd4d111c [user_id] => 5 [clean_username] => admin [display_username] => admin [remember_me] => [remember_me_sessid] => d96062c6d42c6f298a2afc7e9196ba3cc532aa0eed4fb1bf190dd5e0a1f69257e ) )
Any help would be very appreciated.
Thanks
Altarifr.
The text was updated successfully, but these errors were encountered: