You can find my jQuery in this fiddle http://jsfiddle.net/qSkZW/9/ where the value changes based on your dropdown selection.
What I need is to multiply the selected quantity with a PHP variable. For example when$price = '10'; and you select 3 for quantity, you get an output of 30.
Also, how can I pass the result to display it in the next page ?
Thank you.
What I am trying to clone is the Your Purchase system found here https://www.groupon.com/deals/pizza-delight/confirmation?ms=false&pledge_id=538463 that you add the quantity and you get the final price.
Just output the integer directly into the script using php:
Using PHP 5.4 or short tags enabled: