Skip to content

A simple PHP-based Discussion Board where users can ask questions, provide answers, like posts, manage their own content, and browse questions by category. Built using PHP, MySQL, and Bootstrap, this project is ideal for learning web development concepts.

Notifications You must be signed in to change notification settings

ShubhamChoudharyShubh/PHP-Discussion-Board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


PHP Discussion Board

Welcome to the PHP Discussion Board project! This project is a simple discussion board built using PHP, MySQL, and Bootstrap. It allows users to sign up, ask questions, answer questions, like posts, and manage their own content. The project is designed to help beginners learn PHP, MySQL, and web development concepts.

Table of Contents

  1. About the Project
  2. Features
  3. Technologies Used
  4. Installation
  5. Usage
  6. How to Contribute
  7. License
  8. Give a Star

About the Project

This project is a simple Discussion Board where users can ask questions, post answers, like posts, and view related questions based on categories. The main goal is to provide an interactive platform for users to share knowledge and help each other. This platform is ideal for learning PHP, MySQL, and frontend technologies like Bootstrap.


Features

  • User Registration and Login: Users can sign up, log in, and access the board.
  • Ask Questions: Logged-in users can post their questions.
  • Answer Questions: Users can answer posted questions.
  • Like Questions and Answers: Users can like both questions and answers.
  • Display Related Questions: Questions are displayed with related content.
  • Categories: Organize questions based on categories for easy browsing.
  • Delete Own Questions: Users can delete their own questions.
  • Search Functionality: Users can search for questions by title.
  • Latest and User-Specific Questions: View the latest questions and your own questions.

Technologies Used

  • Frontend:
    • HTML5, CSS3, Bootstrap (for styling)
  • Backend:
    • PHP (for server-side scripting)
    • MySQL (for database management)
  • Tools:
    • VS Code (for code editing)
    • Git and GitHub (for version control)

Installation

To run this project locally on your machine, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/ShubhamChoudharyShubh/PHP-Discussion-Board.git
  2. Setup XAMPP/WAMP:

    • Download and install XAMPP or WAMP.
    • Start Apache and MySQL services.
  3. Import the Database:

    • Open phpMyAdmin (usually accessible at http://localhost/phpmyadmin).
    • Create a new database (e.g., discussion_board).
    • Import the SQL file located in the project (db.sql) to set up the database structure.
  4. Move the Project Folder to XAMPP/WAMP Directory:

    • Place the project folder under C:/xampp/htdocs/ (for XAMPP) or C:/wamp64/www/ (for WAMP).
  5. Access the Application:

    • Open your browser and navigate to http://localhost/PHP-Discussion-Board/ to view the project.

Usage

  1. Sign Up / Login:

    • Create an account or log in to an existing account to access the discussion board.
  2. Ask a Question:

    • Once logged in, you can click on Ask A Question to post a new question.
  3. Answer Questions:

    • Answer questions by visiting the question detail page.
  4. Like Questions and Answers:

    • Like posts by clicking the like button next to questions and answers.
  5. Manage Your Questions:

    • View your own questions by clicking on My Questions.
    • Delete your own questions if necessary.
  6. Search and Browse:

    • Use the search bar to find questions by title or view the latest questions.

How to Contribute

We welcome contributions to improve this project! Here are a few ways you can help:

  1. Bug Fixes: Report bugs or help fix any issues.
  2. Feature Requests: Suggest new features that can enhance the discussion board.
  3. Code Enhancements: Improve code quality or suggest best practices for better performance and security.
  4. Documentation: Help improve the documentation by making it more comprehensive.

Steps to Contribute:

  1. Fork the repository to your own GitHub account.
  2. Create a new branch (git checkout -b feature-name).
  3. Make your changes and commit them (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature-name).
  5. Open a pull request to this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Give a Star

If you find this project helpful or interesting, don't forget to give it a ⭐ on GitHub! It motivates us to keep improving and sharing knowledge with the community. Thank you!


Feel free to adjust any details or add/remove sections as per your needs. This README.md is designed to be easy to follow, giving users and contributors a clear understanding of how to get started with the project and how they can contribute to its improvement.

About

A simple PHP-based Discussion Board where users can ask questions, provide answers, like posts, manage their own content, and browse questions by category. Built using PHP, MySQL, and Bootstrap, this project is ideal for learning web development concepts.

Topics

Resources

Stars

Watchers

Forks