PDA

View Full Version : Confused about bringing in data from SQL db to populate listboxes and create charts!


adover
10-27-2008, 04:07 PM
Hi all,
I'm new to the whole using PHP with flash thing and am currently undergoing a few tutorials to get up to speed.
I'll give you a lowdown on the project I'm being given and need to work on, what I've created is a html form which lets users put in their name, what organisation they are from and selecting responses to answers from 1-5, this then goes into an SQL Db, all works fine, no problems there. But it's getting it into flash which I'm struggling with, I need to be able to populate list boxes using a column from the table, which in turn will create a pie chart style graph based on their answers (searching by organisation will add up all of the answers together and aggregate a table once more!). I can do the flash side of this relatively easy but it's just getting the data into flash which I don't understand, I was told AMFPHP to get stuff in, but it's confusing the hell out of me as I use AS2! and have just found a tutorial on kirupa using as2 but if anyone's got any more help I'd be much appreciative! SO confused!:eek:

j.steele
10-28-2008, 04:11 AM
Easy to follow intro to AMFPHP:
http://polygeek.com/amfphp-video-tutorials