DEV Community

Cover image for How to Create Connection With Database in PHP | How to Add Data in Database Using PHP
HMA WebDesign
HMA WebDesign

Posted on

How to Create Connection With Database in PHP | How to Add Data in Database Using PHP

How to Create Connection With Database in PHP | How to Add Data in Database Using PHp

In this post, I show you the steps to create a connection with your database in PHP and how to add data to MySQL Database.
In this article, I will also show you how to create a connection with a database in PHP| Add Data into MySQL Database|create a MySQL database in localhost.

•First open the browser and type 127.0.0.1 or localhost depending on your computer's preference
•Then click next and select phpMyAdmin from the dropdown list
•Fill in username, password, db name and click the "Create" button

Watch Full Video

Top comments (0)