Reply
onchange price x quantity where price from mysql?
Old 07-25-2005, 08:41 PM onchange price x quantity where price from mysql?
hiptobesquare's Avatar
Extreme Talker

Posts: 162
Location: London UK
Hi. Im trying to use an onchange function to display in a text box the price of an item after a customer changes the quantity in a dropdown menu. The initial price of the obect will be generated through a mysql query and held in php variable $price. Has anyone done this or seen it done? if so where?
Thanks for looking
hiptobesquare is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-26-2005, 01:31 AM
Phaedrus's Avatar
Ultra Talker

Posts: 271
Location: CA
Is the price already displayed in the text box when the user selects the quantity?

This is easy to do... post the code of the form you're using and we'll get it working.
__________________
Free Teacher Websites
Phaedrus is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to onchange price x quantity where price from mysql?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12164 seconds with 12 queries