I'm going to be using a java menu applet and I'm trying to take the data from the database and use it in the param tags.
<param name=menu1 value="Artist">
<param name=menu1i1 value="First Album">
<param name=menu1i2 value="Second Album">
<param name=menu1i2i1 value="First Song">
<param name=menu1i2i1 value="Second Song">
This will produce something like this:
Artist
First Album
First Song
Second Song
Second Album
First Song
Second Song
I need to take the Atrist, Album, and Songs from a database (all seperate fields of course) and put them in the applet tags.
What would be the best way to do this?
Looks like I need a nested for-next loop to increment the values in the "param name" tage as long as there is info in the database and insert the info as this is incrementing...but being REALLY new at PHP I don't know how to do this.
Any help will be very greatly appreciated.
Thanks,
Jaymz