I think I must be missing something very simple here (and apologies if I am).
I have a html doc with javescript in it, and in that html doc, I want to create a dropdown list whose values are automtically populated from the result of a mysql query.
I'm guessing that I need to run a php script to get the info from the database, but then how to get that info into the dropdown is a mystery to me.
Please could someone point me in the wright direction - perhaps an example where someone has already done this.
I can't just write the dropdown in PHP as it would mean going away from the html page that I have everything else on.
Many thanks,
Rob.