This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// named connect.php | |
// usable constants | |
define('DB_NAME', 'nameOfDatabase'); | |
define('DB_USER', 'UserName'); | |
define('DB_PASSWORD', 'UserPassword'); | |
define('DB_HOST', 'localhost'); | |
$connect = mysql_connect (DB_HOST, DB_USER, DB_PASSWORD); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// named connect.php | |
// usable constants | |
define('DB_NAME', 'nameOfDatabase'); | |
define('DB_USER', 'UserName'); | |
define('DB_PASSWORD', 'UserPassword'); | |
define('DB_HOST', 'localhost'); | |
$connect = mysql_connect (DB_HOST, DB_USER, DB_PASSWORD); |