This is a simple banking website project that utilizes PHP, CSS, Bootstrap, SQL, and XAMPP to demonstrate basic functionalities of a banking system. Users can create accounts, view account details, perform transactions, and view transaction history.
-
Homepage - Provides information about the website and an "About Me" section.
-
Account Management - Users can view their account details, including the account balance.
-
Fund Transfer - Users can transfer money between their accounts or to other users.
-
Transaction History - Users can view a history of their transactions.
-
Frontend:
- PHP
- CSS
- Bootstrap
-
Backend:
- PHP for server-side scripting
- XAMPP for the web server and database (MySQL)
-
Clone this repository to your local machine or set up your own XAMPP environment.
-
Import the database schema (provided in
database.sql
) into your MySQL database. -
Configure the database connection in your PHP files (
config.php
) to match your local setup. -
Place the project files in your XAMPP htdocs directory.
-
Start your XAMPP Apache and MySQL services.
-
Open the website in your browser by navigating to
http://localhost/swiss_bank/index.php
.
-
Navigate to the homepage to learn more about the website and its purpose.
-
Create an account, and log in with your credentials.
-
Explore your account details, including the account balance.
-
Visit the "Transaction" page to transfer money to other accounts.
-
Check the "Transaction History" page to view your recent transactions.
The project includes a MySQL database with the following tables:
-
users
- Stores user information, including usernames and passwords. -
accounts
- Stores account information, including account balances. -
transactions
- Records all money transactions between accounts.