|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Mar 2005
Posts: 273
|
sessions me ane:((
hi guys
its always, with me ( i always get so darn confused with sessions now the problem is i have a check box form from where user can choose more than 1 option (well thats what check box is for) now i need to store them , all the vlaues that the user chooses in a session array and retrieve them i had a dim idea of it and tried hard but cundt get it list.html --->input.php (stores in array sessions)--->output.php(retrieves froms essions) please help guys and ya i dont have gve unique name to sessions right?? do tell me on that coz the system which i wanna make might use like more than a 1000 users thanx guys counting on mgolfe ![]() |
|
|
|
|
|
#2 |
|
SitePoint Zealot
![]() ![]() Join Date: May 2005
Location: Birmingham UK
Posts: 148
|
Are you sure you need to use sessions? What does input.php do with the data, can you not just pass it straight on to output.php?
|
|
|
|
|
|
#3 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Mar 2005
Posts: 273
|
no ddue
hey dude , i need to save them in sessions so that i use another script to give it to flash audio player..
please help me out! |
|
|
|
|
|
#4 | |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2003
Location: Dog Street
Posts: 1,823
|
Quote:
If it's just a check box you do something like this: PHP Code:
For a multiple select do something like this: The code for the form: PHP Code:
PHP Code:
|
|
|
|
|
|
|
#5 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Mar 2005
Posts: 273
|
hey thanx....but how do i retreive the values stored in the sessions!
|
|
|
|
|
|
#6 |
|
SitePoint Zealot
![]() ![]() Join Date: May 2005
Location: Birmingham UK
Posts: 148
|
PHP Code:
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 20:27.




( 





Linear Mode
