Ok, I'm using a regular HTML form but I need to add some PHP code to make it a little more interactive. The form asks the user how many posters they would like to buy and they have the option of a couple of different numbers via a drop down menu. Each poster costs let's say $2.50. Is there a way I can (through PHP) display to the user how much that would cost once they choose the number of posters they want to purchase. I just want the PHP to add x amount of posters X $2.50. I just don't know how to make the attribute names in the HTML into a PHP variable. If anyone could explain this to me, it'd be great.![]()





Bookmarks