I've successfully created a mysql database and can view the data through a php file on the internet.
The database contains values of nutritional information for different drinks (such as calories and sugar etc).
I need the web page to show the drink names, followed by a text box where the user can type a number and then selecting a calculate button. The nutritional information should be calculated and displayed on a new page for the drink types chosen by the user. I only know the basics of PHP and linking this type of calculation is really giving me jip! i would appreciate any help that anyone can offer, i will be online for the next couple of hours if anyone has time to discuss this matter with me.
Many thanks!!
Okay, so i've tried and the best i can come up with is to implement a shpping cart, where the user can select the drinks andthen select how many before the info is displayed. I only need the user to put a number in a box next to the drink type and then click submit. Can anyone give me guidance on this now that i've refined the problem?
Thanks (again!)