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