Normally we use simple query to access the database with PHP. But the problem occurs when you have finished your project and after that decide to switching on the other Database?
The question stuck your mind for a while, and all the Database Queries have to modify again with another Database Compatible. To rid this problem simple start to build your project with PDO(PHP Database Object). PDO gives you the freedom to switch any database, to just change the connection string. Because PDO(PHP Database Object) supports a wide range of databases. You can find all the Supported Database Link in the given postPDO for Database Access.