Need some more PHP help

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!

Moderator: General Moderators

Post Reply
mettlehead
Forum Newbie
Posts: 15
Joined: Fri Oct 11, 2002 11:03 am
Location: Canada

Need some more PHP help

Post by mettlehead »

I am sorry if the questions sound stupid, I am very new to php and am kinda thrown in to it all.

I have a small order for I am playing with, the user selects checkboxes for the products and each product has a price, in HTML how do I run a php function that will add that amount to the overal price?

And then how do I set this function up in php?

thanks
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

depends on how you identify the product.
And let me guess, you want the total price to be recalculated the moment the user clicks a checkbox?
Post Reply