我想要在booking.php页面上发布复选框的值。发布复选框值
页面上有很多复选框,但我不知道如何发布在booking.php页面上。
<form name="booking.php" method="post">
<label for="tour" class="tour-label">Add to Tour List</label>
<input type="checkbox" name="booking-check" value="Desert Safari" />
</form>
<div class="details"><a href="booking.php">Book Selected Tours</a></div>
我认为这也是非常重要的注意,复选框,输入的是只能通过使用$ _POST,如果他们被检查 - 否则他们没有设置。 – Drew 2013-02-08 21:12:53