A lightweight issue reporting system for the College of Computer Studies at CIT-U. This project demonstrates basic CRUD operations, relational design, and a simple admin interface to manage reported computer lab issues.
Highlights
- Submit and view computer lab issue reports
- Admin panel to update statuses and delete reports
- MySQL schema with users, rooms, and issue reports
- Simple, responsive UI using HTML/CSS and minimal JavaScript
- Register or login as a user.
- Submit an issue from the
dashboardpage. - View all reports on
readrecords.php. - Admin users can manage reports at
admin_record.php.
| File / Folder | Purpose |
|---|---|
computer_issue_system.sql |
Full database schema and sample data (import to MySQL). |
connect.php |
Database connection configuration. Update with your credentials. |
register.php |
User registration form and logic. |
login.php |
Login form and session initialization. |
dashboard.php |
Submit new issue reports. |
readrecords.php |
View all submitted reports (and endpoint for inserts). |
admin_record.php |
Admin panel — update statuses and delete reports. |
css/style.css |
Project styles. |
- PHP (procedural)
- MySQL / MariaDB
- HTML, CSS, vanilla JavaScript
- XAMPP (or any PHP + MySQL environment)
- PHP 7.4+ recommended
- Place the project folder in your web root (e.g.,
c:\xampp\htdocs\computer_issue_system). - Start Apache and MySQL (XAMPP control panel).
- Import the database using phpMyAdmin or the MySQL CLI:
-- via mysql CLI
mysql -u root -p < computer_issue_system.sql- Edit
connect.phpto match your DB credentials. - Open your browser:
http://localhost/computer_issue_system/(redirects to login).
connect.php: update$servername,$username,$password, and$dbnameif different.
- The current project stores users without passwords and uses raw SQL queries — this is for demonstration only. Before production use, implement:
- Strong authentication with hashed passwords (
password_hash/password_verify). - Prepared statements to prevent SQL injection.
- Output escaping (
htmlspecialchars) to prevent XSS. - CSRF tokens for state-changing requests.
- Use HTTPS and secure session cookie options.
- Strong authentication with hashed passwords (
Created for CSIT-226 Information Management 1 — database & CRUD demonstration