Behind the scenes I: PHP

As you know, FlashBlog’s server-side consists of a MySQL database in which the ‘post’ data is stored, and some PHP scripts to fetch the information from the database and send it to the Flash movie using XML. During this chapter, we’ll start building this server-side of FlashBlog, and see how to build a PHP page that retrieves messages from the database, formats them in XML, and sends the information through to the FlashBlog front-end.