An introduction to PHP and MySQL
In this guide I'm going to describe how to get started with PHP and MySQL. Many books have been written on this subject, but I'm just going to cover the basics of getting connected to a MySQL database and executing simple queries. This assumes that you've set up a MySQL database and have the proper privileges necessary to run the queries you prefer. This also assumes that you have a basic understanding of how to create and run a PHP script.