How to store check box values in php sessions? (1 Viewer)

tony007

Registered User.
Local time
Today, 12:49
Joined
Jun 30, 2005
Messages
53
Hi all i got a few checkboxes and i let the user to select a few of them and then click a submit button. I want store the value of select checkbox in sessions and later one use them. could any one show me how i can do that.Thanks

Code:
<form action="./write.php" method=post >

<input type="checkbox" name="id" [b]value="1"[/b]
<input type="checkbox" name="id" value="2"
<input type="checkbox" name="id" value="3"

<input type="submit" value="Add this/these Songs to my PlayList" name="B1">
 

Kodo

"The Shoe"
Local time
Today, 15:49
Joined
Jan 20, 2004
Messages
707
Tony, the questions you are asking are questions on common tasks in web development; however, if you are asking questions at these points, then I highly recommend purchasing a book on your topics (PHP appears to be what you're using judging from your other posts). You really need to have a better foundation or I'm afraid the answers we provide may not make sense to you. That forces us to essentially "Re-write the book" as we "teach" you how to do these things.
http://www.amazon.com/gp/product/07...104-9781728-7658337?s=books&v=glance&n=283155
 

Users who are viewing this thread

Top Bottom