
February 10th, 2004, 10:14 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Dynamic display of unknown # of db records...?
Hey, I'm sorta new to dynamic variables and such, but this seems like a pretty straightforward request...
I'm accessing a mySQL database with PHP scripts that I'm sending to Flash via LoadVars(). I'm using PHP output to create the standard Flash variable textfile :
Venue0=The Flying Saucer&Street0=328 W Morgan St&Date0=02/13/2004&Venue1=East End Martini Bar&Street1=201 E Franklin St&Date1=02/28/2004&endfile=2
What is the best way to display each of these records (Venue, Street, Date) in a universal "styled" format, within a loop for all records that exist? There could be any number of records, and thus a scrollable textField would need to encapsule the solution. Should I create textFields on the fly, or just output using html tags in one textField? I'm not sure how to even do either of these.....
Anyone? Or better yet, a more robust solution?
|