Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // This file contains the database access information.
- // This file also establishes a connection to MySQL
- // and selects the database.
- // Set the database access information as constants:
- DEFINE ('DB_USER', 'root');
- DEFINE ('DB_PASSWORD', 'google');
- DEFINE ('DB_HOST', 'localhost');
- DEFINE ('DB_NAME', 'swimdb');
- // Make the connection:
- $dbc = @mysqli_connect (DB_HOST, DB_USER, DB_PASSWORD, DB_NAME) OR die ('Could not connect to MySQL: ' . mysqli_connect_error() );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement