We have seen how to enter data in a database with Flash CS3.
In that case, we had a form in Flash that sent the data of user to a PHP script that turn them inserted in the database mySQL.
Now we see how to retrieve this data.
As I said earlier, Flash and mySQL can not communicate directly and therefore also in this if we make use of a server-side script (PHP).
In addition we need that the PHP output must be XML format.
So the first thing we need to create a file that is running the PHP Query the database and returns XML output to Flash.
Only at this point we can see data with Flash in ways and forms with which we like.
In this case, I use a DataGrid component.
Let’s see…










{ 1 comment… read it below or add one }
abcdef 11.04.08 at 8:52 pm
1234567890