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 | |
include('DataLogin.php'); | |
$data_login = new DataLogin(); | |
$connection = $data_login->getConnection(); | |
// stop the application if we can't connect | |
if (!$connection) { | |
echo '<div class="error-message">Could not connect to Database</div>'; | |
die(); | |
} |