Click to See Complete Forum and Search --> : php: a very simple question


mahfooz
05-26-2007, 08:18 AM
i m suffering from some mind disturbance in these days, therefore after a long time of trying, i decide to post this simple issue on the web, here is my problem

i have three tables say('product','classes','rate')

product used for storing products
classes used for product classes(class-A, class-B, class-C)
rate used for some charges on classes


now the problem is that when customer select products, the charges on this product via classes charges automatically added on this price, and if there are two different classes's products then maximum classes charges will be added to this product........... many many thanks

konithomimo
05-27-2007, 09:56 PM
If you want to autoupdate a page whie taking values from a DB then you will need to use AJAX. PHP only runs when the page loads, so it will be of no use unless you are going to refresh the page with the additional data.