To interact with MySQL database, you will have to connect it with PHP. You can do that by creating db_connection.php file and add the connection parameters in it. This way you can quickly connect mysql database with PHP (https://www.cloudways.com/blog/connect-mysql-with-php/ ).