ok so i am trying to do multiple checkboxes that will directed to their own page with a single submit but not working
<form action ="trip1.php" method="post" name="form1">
<p><input type="checkbox" name="agree" /> Auckland</p>
</form>
<form action ="trip.php" method="post" name="form2">
<p><input type="checkbox" name="agree" /> North Shore</p>
<p><input type="checkbox" name="agree" /> Waikato</p>
<p><input type="checkbox" name="agree" /> Taranaki</p>
<p><input type="checkbox" name="agree" /> Toupo</p>
<p><input type="checkbox" name="agree" /> Wellington/p>
<p><input type="checkbox" name="agree" /> Bay of Plenty</p>
<p><input type="checkbox" name="agree" /> Manukau</p>
<p><input type="submit" value="submit" onclick="form2.submit();"/></p>
</div>
</form>