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">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top