π° Travel Expense Manager
A web-based Travel Expense Management System developed using PHP and MySQL to help users track, manage, and organize travel-related expenses efficiently.
π Features
Authentication & User Management
- User Registration - Create a new account securely
- User Login - Secure authentication using email and password
- Session Management - User sessions maintained throughout usage
- Logout Functionality - Securely end user sessions
Expense Management
- Add Expenses - Record travel-related expenses
- Edit Expenses - Modify existing expense records
- View Expenses - Display all recorded expenses in an organized format
- Expense Tracking - Monitor travel spending effectively
- Delete Expenses - Remove unwanted expense entries
Dashboard
- Expense Overview - View expense summaries
- Quick Access Navigation - Easy access to all modules
- User-Friendly Interface - Simple and intuitive design
Database Integration
- MySQL Database Connectivity
- Persistent Data Storage
- Efficient Record Management
π οΈ Technologies Used
- PHP - Backend development
- MySQL - Database management
- HTML5 - Structure and content
- CSS3 - Styling and layout
- JavaScript - Client-side interactions
- XAMPP - Local development environment
π¦ Project Structure
travel_expense/
βββ add_expense.php
βββ connection.php
βββ dashboard.php
βββ edit_expense.php
βββ expenses.php
βββ index.php
βββ logout.php
βββ register.php
βββ README.md
βββ css/js files
π Getting Started
Prerequisites
- XAMPP
- PHP 8.x or later
- MySQL
- Web Browser
Installation
-
Clone the repository:
-
Move the project folder into:
-
Start:
from the XAMPP Control Panel.
-
Create a database in phpMyAdmin.
-
Update database credentials in:
Example:
$host = "localhost";
$user = "root";
$password = "";
$db = "travel_expense";
- Open your browser and visit:
http://localhost/travel_expense/
π How can we use
Register
- Open the application.
- Create a new account using the registration page.
- Login using your credentials.
Manage Expenses
- Add new travel expenses.
- View all recorded expenses.
- Edit existing expense details.
- Delete expenses when required.
Dashboard
- Access the dashboard after login.
- Monitor and manage expense records.
- Navigate through available modules.
π Security Features
- User Authentication
- Session-Based Access Control
- Secure Logout Mechanism
- Protected User Data Management
π― Project Objectives
- Simplify travel expense tracking
- Improve expense organization
- Provide easy access to spending records
- Reduce manual expense management efforts
- Demonstrate practical implementation of PHP and MySQL concepts
π§ Future Enhancements
π Academic Project
This project was developed as part of a Database Management System (DBMS) academic project to demonstrate:
- PHP-MySQL Integration
- CRUD Operations
- Database Connectivity
- User Authentication
- Web Application Development
π‘ A simple and effective solution for managing travel expenses digitally.
βDatabase schema is not included in this repository. Create the required tables manually before running the application.β