Just wondering if anyone can help me with this!
What I would like to do is return information from a MySQL database and display it in Flash. I can do all of this fine but my problem arises from the fact that I am going to be creating around 200 search engines for a site and do not want to have to code out all the php scripts for every single field that a query returns information for.
What I would ideally love to be able to do is send a query to a database in the usual way, bring it back into an array as it does now and then spit out all the results in the standard Flash variables format.
However I do not want to have to put this kind of code ;
Code: Select all
echo "&colour" .$count ."=" . $returnedColour;So basically what I am looking at finding is a way of taking the result set (Array) and spitting out the name of the fields and their associated values for each row of data.
If anyone has an idea of what I am trying to achieve and can supply me with some code to help on this then I would be exceptionally greatful.
Regards,
Mark Bowen