How to call a value of session in php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

How to call a value of session in php?

29th May 2019, 12:03 AM
‎‎‎
3 Answers
+ 8
You mean to get a session variable value? if so then you can do as follows: $var = $_SESSION['session_variable_name']; * In case you forget, we have it in lesson: https://www.sololearn.com/learn/PHP/1842/
29th May 2019, 12:26 AM
Ipang
+ 9
sorry I mean the value of the session
29th May 2019, 12:15 AM
‎‎‎
+ 6
What do you mean call a session?
29th May 2019, 12:12 AM
Ipang