我想要在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