Post and Comment System for Beginners using PHP/MySQLi Source Code

Language

In this simple project, you can learn here to create post and comment codes with timestamp or time ago. This allows us to know the time posted by the user. You can use these codes in your future projects. This simple project is created in PHP/MySQLi. 

This simple project has the following features:

  • Login and Registration Form
    • The Registration feature is where the creation of user account credentials is being done and the Login Form is where users submit their system credentials to allow them to access the other features of the project.login and registration

       

  • Post FormWrite Post

     

  • Posts Section Fields
     

    Post field

     

  • Comment Sectioncomments

Feel Free to download the source code and hope this will help you to understand how to create this simple PHP/MySQLi Project so you could build/develop like this on your own. To run the project source code on your computer follow the instructions below.

How you Run

  1. Download the source code and extract the zip file.(Click the "Download" button below to download the zip file)
  2. Download or set up any local web server that runs PHP script. example [XAMPP]
  3. Open the web-server database and create a new database name it "practice". for XAMPP, just browse this link [http://localhost/phpmyadmin]
  4. Import the SQL file located in the "db" folder of the source code.
  5. Copy and paste the source code to the location where your local web server accessing your local projects. Example for XAMPP('C:\xampp\htdocs')
  6. Open web browser and browse the project. E.g [http://localhost/post_and_comment_system]

Installation Demo

There is it, you can now try the Simple Post and Comment System and learn how the system was developed.

Happy Coding :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted bylocker (not verified)on Sat, 12/21/2019 - 20:05

Am I locked of this system forever?

Submitted byMr. Hason (not verified)on Sun, 02/21/2021 - 19:22

Sir, Try to add CSS in this CSS please

Add new comment