Listing MySQL Database Table Using PHP, XML and DataGrid Component

This is an example of using Flash XML class to request records in a MySQL table via PHP. All the scripting and database commands are listed below. All the ActionScript is on frame 1 of the XMLPHPMySQLEx01_Request Flash movie plus a DataGrid component named myUserDataGrid and a TextField named output_txt that displays output for testing outside the Flash IDE.

XMLPHPMySQLEx01_Response.php
<?xml version="1.0" encoding="iso-8859-1"?><datapacket><response><code>94</code><message>Not able to connect to MySQL Server<br/>Error = Access denied for user 'nobody'@'localhost' (using password: NO)</message></response></datapacket>