MySQL connect to database with PHP

In this article we are going to discuss about how to connect to a MySQL database in PHP. There are two separate methods to connect to  MySQL database. Previously there were 3 method to...