
π Table of Contents
π Overview
MM Quiz Center is a comprehensive online quiz platform designed to provide an engaging and interactive learning experience. The platform allows users to take quizzes across various categories while administrators can manage content, track user progress, and maintain the system efficiently.
π― Mission
βTEST YOUR WITS, LEARN WITH FUN!β - Our mission is to make learning enjoyable and accessible through interactive quizzes that challenge and educate users.
β¨ Features
π€ User Features
- π User Authentication - Secure registration and login system
- π€ Profile Management - Edit profile, upload profile pictures
- π Take Quizzes - Interactive quiz-taking experience with time limits
- π Results Tracking - View detailed quiz results and performance history
- π¬ Feedback System - Submit feedback and receive admin responses
- π Password Recovery - Forgot password functionality
- π± Responsive Dashboard - Mobile-friendly user interface
π¨βπΌ Admin Features
- π Admin Dashboard - Comprehensive overview of platform statistics
- π₯ User Management - View, manage, and monitor user accounts
- π Category Management - Create and manage quiz categories
- π Exam Management - Create, edit, and delete exams
- β Question Management - Add questions with multiple choice options
- π Results Overview - Monitor user performance and exam statistics
- π¬ Feedback Management - Review and respond to user feedback
- ποΈ Content Moderation - Delete inappropriate content
π§ System Features
- π Secure Authentication - Password hashing and session management
- π± Responsive Design - Works seamlessly on all device sizes
- β‘ Real-time Updates - Dynamic content loading
- π¨ Modern UI/UX - Clean and intuitive interface design
- π Analytics - Track user engagement and performance metrics
π οΈ Technology Stack
Backend
- PHP π - Server-side scripting language
- MySQL ποΈ - Relational database management
- PDO π - PHP Data Objects for database interaction
Frontend
- HTML5 π - Semantic markup
- CSS3 π¨ - Modern styling with gradients and animations
- JavaScript β‘ - Interactive functionality
- Font Awesome π― - Icon library
- phpMyAdmin π§ - Database administration
- XAMPP/WAMP π₯οΈ - Local development environment
π Project Structure
π QUIZ/
βββ π index.php # Landing page
βββ π platform.sql # Database schema
βββ π styles.css # Main stylesheet
βββ π README.md # Project documentation
βββ π admin/ # Admin panel
β βββ π admin.php # Admin dashboard
β βββ π admin_upload.php # File upload management
β βββ π categories_dashboard.php # Category management
β βββ π exam.php # Exam management
β βββ π feedback.php # Feedback management
β βββ π user_management.php # User administration
β βββ π results_overview.php # Results analytics
β βββ π style3.css # Admin panel styles
βββ π file1/ # Authentication system
β βββ π config.php # Database configuration
β βββ π login.php # User login
β βββ π register-login.php # User registration
β βββ π process.php # Form processing
β βββ π logout.php # Session termination
βββ π forgot_password/ # Password recovery
β βββ π forgot_password.php # Password reset request
β βββ π reset_password.php # Password reset form
βββ π user/ # User dashboard
β βββ π user-dashboard.php # User home page
β βββ π profile.php # Profile management
β βββ π take_exam.php # Quiz interface
β βββ π exam_result.php # Result display
β βββ π user_feedback.php # Feedback submission
β βββ π uploads/ # User profile pictures
βββ π photo/ # Static images and logos
βοΈ Installation
Prerequisites
- π₯οΈ Web server (Apache/Nginx)
- π PHP 7.4 or higher
- ποΈ MySQL 5.7 or higher
- π Modern web browser
Step-by-Step Installation
- π₯ Clone the Repository
git clone https://github.com/yourusername/mm-quiz-center.git
cd mm-quiz-center
- ποΈ Setup Database
- Create a new MySQL database named
platform
- Import the provided SQL file:
mysql -u root -p platform < platform.sql
- βοΈ Configure Database Connection
- Edit
file1/config.php:
<?php
$host = 'localhost';
$db = 'platform';
$user = 'your_username';
$pass = 'your_password';
?>
- π Set Permissions
chmod 755 user/uploads/
chmod 755 photo/
- π Launch Application
- Start your web server
- Navigate to
http://localhost/quiz/
π§ Configuration
Database Configuration
Update the database connection settings in file1/config.php:
$host = 'localhost'; // Database host
$db = 'platform'; // Database name
$user = 'root'; // Database username
$pass = ''; // Database password
Admin Account Setup
Default admin credentials:
- Email:
admin@gmail.com
- Password:
admin123 (Change immediately after first login)
File Upload Settings
- Profile Pictures:
user/uploads/
- Maximum File Size: 2MB
- Allowed Formats: JPG, JPEG, PNG, GIF
π Usage
For Students/Users π¨βπ
- Registration π
- Visit the homepage
- Click on βRegisterβ
- Fill in required details
- Upload profile picture (optional)
- Taking Quizzes π
- Login to your account
- Browse available categories
- Select an exam
- Answer questions within time limits
- Submit and view results
- Profile Management βοΈ
- Edit personal information
- Change profile picture
- View quiz history
For Administrators π¨βπΌ
- Dashboard Access π
- Login with admin credentials
- View platform statistics
- Monitor user activity
- Content Management π
- Create quiz categories
- Add new exams
- Input questions with multiple choices
- Set time limits
- User Management π₯
- View registered users
- Monitor user performance
- Manage user accounts
π₯ User Roles
π Student/User
- Take quizzes and exams
- View personal results
- Submit feedback
- Manage profile
π¨βπΌ Administrator
- Full system access
- Content management
- User administration
- Analytics and reporting
π± Responsive Design
The platform is fully responsive and optimized for:
- π₯οΈ Desktop - Full-featured experience
- π± Mobile - Touch-friendly interface
- π Tablet - Optimized layout
π Security Features
- π Password Hashing - Secure bcrypt encryption
- π‘οΈ SQL Injection Prevention - Prepared statements
- π Session Management - Secure session handling
- π« CSRF Protection - Cross-site request forgery prevention
- π Input Validation - Server-side data validation
πΈ Screenshots
π Homepage
Beautiful landing page with modern design and clear navigation.
π Admin Dashboard
Comprehensive overview with statistics and quick access to management tools.
π Quiz Interface
Clean and intuitive quiz-taking experience with timer functionality.
π€ User Profile
Personalized dashboard with performance tracking and profile management.
π€ Contributing
We welcome contributions! Please follow these steps:
- π΄ Fork the repository
- πΏ Create a feature branch (
git checkout -b feature/AmazingFeature)
- πΎ Commit your changes (
git commit -m 'Add some AmazingFeature')
- π€ Push to the branch (
git push origin feature/AmazingFeature)
- π Open a Pull Request
π Contribution Guidelines
- Follow PHP PSR-12 coding standards
- Write clear commit messages
- Add comments for complex logic
- Test thoroughly before submitting
π’ MM Quiz Center
- π Address: 159/18/A-1 West Shawrapara, Mirpur, Dhaka 1216
- π Phone: (+880) 0107141820
- π§ Email: info@mmquizcenter.com
π± Mobile Apps
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Made with β€οΈ by MM Quiz Center Team
Β© 2023 MM Quiz Center. All Rights Reserved.
π Quick Start Commands
# Clone the repository
git clone https://github.com/yourusername/mm-quiz-center.git
# Setup database
mysql -u root -p platform < platform.sql
# Start local server
php -S localhost:8000
π Useful Links
Happy Learning! πβ¨