These links use JSON to handle the data, but the PHP code, as well as the Flex code, should answer your questions.
If this post answers your question or helps, please mark it as such.
Thanks for the helpful pointers. Am going to go look through them now!
Perhaps you might be interested in one of our components. It is an Adobe Flex Connector for MySQL.