Question: Create a new file database_credentials.php The above file will contain the database connection parameters Make use of CONSTANT variable Create another file database_connection_test.php o
Create a new file "database_credentials.php" The above file will contain the database connection parameters Make use of CONSTANT variable Create another file "database_connection_test.php" o require the "database_credentials.php file in here Write your connection script and test if the connection is working o Display connection successful if it works o Else, connection failed
Step by Step Solution
There are 3 Steps involved in it
To achieve this you can create two PHP files databasecredentialsphp to store the database connection ... View full answer
Get step-by-step solutions from verified subject matter experts
