By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,661 Members | 779 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,661 IT Pros & Developers. It's quick & easy.

Session_array

P: 1
How to use session_array in php for online shopping mart project...
Nov 18 '11 #1
Share this Question
Share on Google+
2 Replies


100+
P: 1,059
the variable that hold all the session variable is _SESSION

you can access session data using indexes;

in general you are suppose to know the indexes. But in case if you forgot you can print all the index and value using print_r function.

if you want to browse through all the data you can use foreach loop to extract key and value
Nov 18 '11 #2

P: 43
you better go thru this simple tutuorial
http://www.w3schools.com/php/php_sessions.asp
Nov 19 '11 #3

Post your reply

Sign in to post your reply or Sign up for a free account.