I need Flash to display a page of images and text (see attached sketch) dynamically loaded from the MySQL database, via PHP.
In my MySQL database, I’ve got:
[COLOR=“DarkRed”][FONT=“Courier New”]id (auto increment)
name
artists
date
image[/FONT][/COLOR]
I can get the PHP file to output something like:
[COLOR=“DarkRed”][FONT=“Courier New”]name2=Someone&artists2=Someone&date2=2006&name1=Someone&artists1=Someone&date1=2005[/FONT][/COLOR]
Problem is, I need an efficient and uncomplicated way to have Flash read these variables and put them into each textbox. I mean, I could fumble around with heaps of messy code to achieve the desired effect, but I’m sure there’s a nice, simple way of doing this.
Also, the items need to be displayed in descending order, according to the ‘id’.
Not too worried about the dynamically loaded images just yet… I just want to get the basic text loading worked out, and I’ll go from there.
I think all this has something to do with using ‘loops’ or something, but I’ve got no idea.
Thanks in advance!!