Hello, I would like the following to submit the values of one or both of the check boxes to a shopping cart. However it doesn't work.
Here is the link where the code resides:
http://www.ram-mount.com/wizards/test.php
Then it should populate this page, including the two parts:
https://www.ram-mount.com/RamCart/viewcart.php
If you can look at this page I have combined the two values and it works. However, this does not give the user a choice to pick one, two or both:
http://www.ram-mount.com/wizards/test.htm
<?php
$part = implode('^', $_POST['part']);
?>
<form name='CartItem' action='https://www.ram-mount.com/RamCart/CartPutItem.php' method='POST'>
<input type='checkbox' name='part[]' value='RAM-VB-162'>
<input type='checkbox' name='part[]' value='RAM-VB-154'>
<input type='submit' value='Add To Cart'>
</form>
Thanks in advance
form question
Moderator: General Moderators