Jump to content

Archived

This topic is now archived and is closed to further replies.

DjNaF

Update total price field when choosing an item

Recommended Posts

hello;

i didn't know where to post it, in php forum or javascript.

i have a once order page, where you choose items from different drop menus. when ever a user choose am item it add its price in the total text field, in addition i want to save the form in the database mysql.

<option value="ProductID">Product Name</option>

i use the ProductID to save it in mysql, i found a way to calculate price if i placed the price instead of ProductID for the value, but then i can't save the ProductID in the database.

anyone got a solution?

Thank you

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.