A comprehensive web-based student portal management system built with PHP, MySQL, and modern CSS. This system provides complete management of students, faculty, courses, and academic records.
Admin Gateway β Manage students, faculty, and courses with full CRUD operations.
Faculty Gateway β Add student attendance, marks, reviews, and more.
Student Gateway β View marks, attendance, and register for exams.
Create and manage academic courses and programs
- Admin Home Page with centralized control
- Add Student: Create and manage student records
- Add Faculty: Create and manage faculty records
- Add Course: Create and manage course details
- CRUD Operations: Perform full database operations on all records
- Faculty Home Page
- Add Attendance: Record student attendance
- Add Marks: Enter and update student marks
- Add Reviews: Provide feedback and comments for students
- Other Academic Updates: Manage additional student-related information
- View Marks: Check academic performance
- View Attendance: Track attendance records
- Exam Registration: Register for upcoming examinations
Before running this project, make sure you have:
- XAMPP (Apache + MySQL + PHP) or WAMP server
- PHP 7.4 or higher
- MySQL 5.7 or higher
- Web browser (Chrome, Firefox, Safari, Edge)
# Clone the repository
git clone https://github.com/manukrishna804/studentportal.git
# Or download ZIP and extract to your web server directory- Install XAMPP from https://www.apachefriends.org/
- Start XAMPP Control Panel
- Start Apache and MySQL services
- Open phpMyAdmin:
http://localhost/phpmyadmin - Create new database:
students - Import database: Use the
students.sqlfile provided
- Copy project files to:
C:\xampp\htdocs\studentportal\ - Verify file structure:
htdocs/studentportal/ βββ admin_login.php βββ add_faculty.php βββ login1.php βββ students.sql βββ ... (other files)
- Open browser:
http://localhost/studentportal/ - Test PHP:
http://localhost/studentportal/php_test.php - Admin Login:
http://localhost/studentportal/admin_login.php
- Username: Check your
students.sqlfile for admin credentials - Password: Check your
students.sqlfile for admin credentials
- Faculty accounts are created by admin
- Each faculty member gets unique login credentials
- Student accounts are created by admin
- Each student gets unique login credentials
studentportal/
βββ admin_login.php # Admin authentication
βββ admin_home.php # Admin dashboard
βββ add_faculty.php # Add new faculty
βββ manage_faculty.php # Faculty management
βββ add_course.php # Add new course
βββ manage_course.php # Course management
βββ add-student-details.php # Add new student
βββ manage_students.php # Student management
βββ faculty_login.php # Faculty authentication
βββ faculty_home.php # Faculty dashboard
βββ student_login.php # Student authentication
βββ student-home.php # Student dashboard
βββ login1.php # Database connection
βββ students.sql # Database structure
βββ style.css # Main stylesheet
βββ admin-style.css # Admin module styles
βββ add-faculty.css # Faculty form styles
βββ add-course.css # Course form styles
βββ README.md # This file
MySQL database schema and relationships
- Login using admin credentials
- Add Faculty: Create new faculty accounts
- Add Students: Register new students
- Add Courses: Create course offerings
- Manage Records: Update and delete information
- Login using faculty credentials
- View Students: Access student information
- Record Attendance: Track student attendance
- Update Marks: Record academic performance
- Add Remarks: Provide student feedback
- Login using student credentials
- View Profile: Access personal information
- Check Attendance: Monitor attendance records
- View Marks: Check academic performance
- Register Courses: Enroll in available courses
- Symptom: See PHP source code instead of output
- Solution: Ensure Apache and PHP are running in XAMPP
- Symptom: "Connection failed" error
- Solution: Start MySQL service in XAMPP
- Symptom: 404 error
- Solution: Check file location in
htdocs/studentportal/
- Symptom: Pages look unstyled
- Solution: Verify CSS files are in correct location
- PHP Test:
http://localhost/studentportal/php_test.php - Connection Test:
http://localhost/studentportal/test_connection.php - Integration Fix:
http://localhost/studentportal/fix_integration_issues.php
- Session Management: Secure user authentication
- SQL Injection Prevention: Prepared statements
- Input Validation: Data sanitization and validation
- Access Control: Role-based permissions
- Secure Logout: Proper session termination
- β Chrome 80+
- β Firefox 75+
- β Safari 13+
- β Edge 80+
- β Internet Explorer 11+
- 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
Your Name
- GitHub: manukrishna804
- Email: manukrishna804@gmail.com
- XAMPP for the development environment
- PHP Community for excellent documentation
- MySQL for robust database management
- Open Source Community for inspiration and tools
If you encounter any issues or have questions:
- Check the troubleshooting section above
- Search existing GitHub issues
- Create a new issue with detailed description
- Contact the author directly
If this project helped you, please give it a β star on GitHub!
Happy Coding! π
