PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am trying to figure out how to add up the total cost of my accessories, and assign it to the value of $total_accessory_cost. Then add that cost with 2 other values. I can add the other two no problem, because they are just plain input box's. The accessories are different because they are in an array, and I don't know how to have it say add up $price_$i then assign it to a value.
I always appreciate when somebody can look at my code and say thats the rookie way of doing it, here is something that will work better. I had to make a few edits, but your code worked very well.