DSP (Doubt Solving Portal) is a web application built using PHP and MySQL. It provides a platform for students to ask questions, get answers from faculty members, and engage in collaborative learning. The project aims to facilitate knowledge sharing and provide a seamless experience for users.
The application utilizes a MySQL database to store information about categories, questions, answers, and user details. Here's an overview of the database schema:
- category: Stores information about different categories of questions.
- quacat: Maps questions to their respective categories.
- quans: Contains questions, answers, and related user information.
- users: Stores user details such as username, password, name, email, join date, and roles.
DSP has three roles for users:
- Student: Students can ask questions on various topics and view answers provided by faculty members.
- Faculty: Faculty members have the authority to answer questions asked by students.
- Admin: Admins can change user roles.
The application consists of several pages, each serving a specific purpose:
- Home: The landing page of the portal, providing an overview and introduction.
- Categories: Displays a list of available question categories.
- Contact: Allows users to get in touch with the support team for any queries or issues.
- Ask Question: Enables students to ask questions and submit them to the portal.
- Login: Provides a login interface for users to access their accounts.
- Signup: Allows new users to create an account on the DSP platform.
- Profile: Displays user-specific information, including activity history and account settings.
To set up and run the DSP project locally, follow these steps:
- Clone the repository to your local machine.
- Change the information in
connect.php. - Import the provided MySQL database schema from
project.sqlfile. - Configure the database connection in the PHP files as per your local environment.
- Install PHP and a web server (e.g., Apache) if not already installed.
- Start the web server and access the project in your browser.
To login as admin use admin as username and password