How to store check box values in php sessions?

Joined
Jun 30, 2005
Messages
59
Reaction score
0
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">
 
Back
Top