PHP unlimited classification configuration connection file
Configure connection file
New file conn.php
$db_password = ''; fill in the database connection password, $db_name = ''; fill in the name of the database.
When using the database file later, you only need to call conn.php.