Eyad Hainey Eyad Hainey

Connect MySQL to PHP

Posted on

After building and structuring your SQL database, and you want to display them on your PHP website, you need to start  a connection form that links the website to your local host PhpMyAdmin (MySQL).

Localhost: keep it if the SQL database is on the same host
mysql_user: is your login username to PhpMyAdmin
mysql_password: your PhpMyAdmin password