Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Prodentim Probiotics Specially Designed For The Health Of Your Teeth And Gums

Instant Grammar Checker - Correct all grammar errors and enhance your writing

Teach Your Child To Read

Powerful WordPress hosting for WordPress professionals

Disclosure: My content contains affiliate links.

31,051 questions

40,769 answers

573 users

How to get all session variable values in PHP

1 Answer

0 votes
session_start();
$_SESSION["language"] = "php";
$_SESSION["color"] = "green";

print_r($_SESSION);

/*
run:

Array ( [language] => php [color] => green )

*/

 





answered Aug 2, 2018 by avibootz

Related questions

1 answer 122 views
122 views asked Aug 2, 2018 by avibootz
1 answer 67 views
67 views asked Nov 29, 2020 by avibootz
1 answer 74 views
74 views asked Nov 29, 2020 by avibootz
1 answer 68 views
1 answer 63 views
63 views asked Nov 29, 2020 by avibootz
...