I am producing a web page using eclipse and mysql. I am planning to produce a web page that has lists of foods such as french fries, burgers, etc. where i can choose to select the food i want and compute the sum of all its price.

my problem is, what is the code for producing list of foods in a web and a code for computing its sum.

Thanks :D