Working on this off and on for two weeks! Probably super simple with someone with more experience. I simple have a food search engine. You enter in lets say "blue cheese" it pulls all things with blue cheese from my DB. I click on one of the blue cheese links and it then pulls calories from my DB. I got all that working. But in order for my chart to display I have to select an item from the select box. I have the select box in a while loop pulling from a column in the DB and populating but cant link it.
Ok, so to try and make more sense of my question let me post a link to what I trying to do and what I've done. Thanks!
This is my page what I'm trying to do, just by looking at it hopefully you can get my concept. In the search engine type in "blue cheese". What comes up is 1 oz of blue cheese, 1 cup etc etc.. But in order for my nutrition facts to pop up I have to select one first..
http://simplecalorie.com/search.html
this is that code I use to kinda do this:
http://www.w3schools.com/PHP/php_ajax_database.asp
thanks!