How to write connection class to mysql database using php

Hello! In this post, you will learn to how to write and test the OOP based connection class to mysql database using php. see below..how to do it.. connection.php

Now you have create the database connection class let’s see how to call this connection class inside your project. To test the connection we will create another php file and create a object from my existing connection class.. see below..how to do it.. >test.php

Read More