To retrieve data rfrom a MySQL database you first need to connect to the database using the MySQL connection string(MySQL_connect) after that, it's just a matter of executing a query of "SELECT field1, field2 FROM tablename" Obviously replacing field 1 and 2 with the fields you want to replace and tablename with the table the data is stored