TASKMATE - SIMPLE STUDENT TASK MANAGER
Beginner-friendly PHP + MySQL project for XAMPP.

WHAT IS INCLUDED
- Home, Dashboard, About pages
- About page with three editable team-member profile cards
- Student registration and login
- Separate admin login and admin dashboard
- Student task CRUD: add, view, edit, mark complete/pending, delete
- Database tables: users and tasks
- Admin can view student accounts and see recent tasks/statistics

SETUP
1. Extract this folder to:
   C:\xampp\htdocs\taskmate
   The correct file path should be:
   C:\xampp\htdocs\taskmate\index.php

2. Open XAMPP and start Apache and MySQL.

3. Open http://localhost/phpmyadmin
   Click Import, select database.sql from this folder, and click Import/Go.
   This creates the taskmate_db database with users and tasks tables.

4. Check config/db.php.
   Default local settings are host=localhost, database=taskmate_db,
   username=root, password blank. Change only if your MySQL settings differ.

5. Open http://localhost/taskmate/

STUDENT TEST
1. Click Register and create a student account.
2. Log in through Student Login.
3. Add two tasks with deadlines.
4. Edit one task and mark one as Completed.
5. Delete a test task.
6. Log out and log in again to check that the tasks remain saved.

ADMIN TEST
1. First register a normal student account.
2. Open phpMyAdmin > taskmate_db > SQL and run this, replacing YOUR_USERNAME:
   UPDATE users SET role='admin' WHERE username='YOUR_USERNAME';
3. Log out of the website.
4. Open http://localhost/taskmate/admin_login.php
5. Log in using that account's username and password.
6. Check the admin dashboard and Registered Students page.

TEAM MEMBERS
Open about.php and replace Team Member 1, Team Member 2, Team Member 3,
their roles, descriptions and initials with your actual team information.

IMPORTANT
- Students can only edit or delete tasks belonging to their own account.
- Admin access is restricted to accounts with role=admin.
- Test the project locally before submission.
- For hosting, update config/db.php with the hosting provider's database details.
- This is a simple educational starter project; review and test all features before deployment.
