diff --git a/f8l_exception/includes/inc_dbConnect.php b/f8l_exception/includes/inc_dbConnect.php index 143408a..480081d 100644 --- a/f8l_exception/includes/inc_dbConnect.php +++ b/f8l_exception/includes/inc_dbConnect.php @@ -1,6 +1,6 @@ -Home | -Change Password | -Logout +Home | +Change Password | +Logout
-My Accounts | -Deposit | -Withdraw | -Transfer | -View Statement +My Accounts | +Deposit | +Withdraw | +Transfer | +View Statement
-New Loan | -New Account | -Make Loan Payment +New Loan | +New Account | +Make Loan Payment
\ No newline at end of file diff --git a/f8l_exception/includes/inc_showAccounts.php b/f8l_exception/includes/inc_showAccounts.php index e6502d8..d65fbf9 100644 --- a/f8l_exception/includes/inc_showAccounts.php +++ b/f8l_exception/includes/inc_showAccounts.php @@ -1,6 +1,6 @@ Unable to connect to the database server.

" . "

Error code " . mysql_errno() . ": " . mysql_error() . "

"; diff --git a/f8l_exception/includes/inc_text_menu.php b/f8l_exception/includes/inc_text_menu.php index eaac29f..cd7aea8 100644 --- a/f8l_exception/includes/inc_text_menu.php +++ b/f8l_exception/includes/inc_text_menu.php @@ -1,7 +1,7 @@
-Home | -New Customer | -Login +Home | +New Customer | +Login
-Admin \ No newline at end of file +Admin \ No newline at end of file diff --git a/f8l_exception/includes/inc_validateLogin.php b/f8l_exception/includes/inc_validateLogin.php index 3cd315f..0a25694 100644 --- a/f8l_exception/includes/inc_validateLogin.php +++ b/f8l_exception/includes/inc_validateLogin.php @@ -4,7 +4,7 @@ function validateLogin ($myusername,$mypassword) { global $errorCount; global $errorMessage; - include($_SERVER['DOCUMENT_ROOT']."/f8l_exception/includes/inc_dbConnect.php"); + include f8l_exception/includes/inc_dbConnect.php; mysql_select_db("$db_name")or die("cannot select DB"); // To protect MySQL injection (more detail about MySQL injection)