How to recieve multiple checked checkboxes on another page

Joined
Oct 13, 2010
Messages
1
Reaction score
0
hey all

I'm havin a prob with sending multiple check boxes to another page...

for eg:

if i have 3 rooms show from DB and must select either 1, 2 or all 3 of them and send the info to the next page. and it's in php...how?

<form action="AvailableRooms.php" method="post" name="CheckAvailability">
room1
<input type="checkbox" name="$chck[]" value="Room1" />

room2
<input type="checkbox" name="$chck[]" value="Room2" />

room3
<input type="checkbox" name="$chck[]" value="Room3" />


<input type="submit" name="Check" id="Check" value="Check Availability" />

</form>
--------------

recieving page: AvailableRooms.php
----

$options = $_POST['chck'];


and then i don't know what to do...

can anyone help me?????????????


shot
 

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

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,835
Latest member
KetoRushACVBuy

Latest Threads

Top