I need help with setting up my array. What the code needs to do is if you click on one of the checkboxes it should return what you have ordered and the price which are .25 cents per item. I have figured out how to get it to show what the item is that is clicked on. For example if someone chooses chicken it will echo what they ordered which is chicken, but I have absolutely no idea how and where to add in a price for each of the items and only show the price for the items they picked and totaled up. Please help, I'm stuck.
[code]
Please select your pizza toppings PepperoniSausage
Bacon
Ham
Ground beef
Chicken
[/code]
[php]
<?php echo "You order a pizza with"; foreach($_POST[options] as $ingredients){ echo"With $ingredients
"; } ?>
[/php]