14 lines
407 B
PHP
14 lines
407 B
PHP
<?php
|
|
$host = "mysql4.ezhostingserver.com"; //database location
|
|
$user = "bbusr"; //database username
|
|
$pass = "bbmesn123"; //database password
|
|
$dbname = "BestBus"; //database name
|
|
//database connection
|
|
try {
|
|
/*** connect to MySQL database ***/
|
|
$conn2 = new PDO('mysql:host=' . $host . ';dbname=' . $dbname , $user, $pass);
|
|
}
|
|
catch(PDOException $e) {
|
|
echo $e->getMessage();
|
|
}
|
|
?>
|