0
It is possible to make an array using Session? Then Get the Values each element in the session array.
im bad with Php. HAHAHAH
6 odpowiedzi
0
Do you mean you are trying to stock variables from session inside an array?
0
yes! i want to get each element. Im trying but it sucks
0
ok. Maybe you didn't realize but $_SESSION is actually an array so you don't need to remake one.
Try:
var_dump($_SESSION);
0
okay. ill try
0
while($row = $result->fetch_assoc()){
$_SESSION["UserName"] = $row["UserName"];
}
how will you get the exact element in array SESSION.
0
Can you show a small piece of the var dump result, without sensitive infos for sure?