How To Create Comment Box Using PHP & MySQL

Language

This is a simple project that will teach you how to create a comment box. In this project, I used a little JQuery Ajax method like what I have done in my recent post, Chat Box. I made this just to give you a little idea on how a comment box is done. Hope you can learn from this project.

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 byfiona (not verified)on Sat, 08/30/2014 - 09:12

how it works? experimenting with the box
Submitted bypritam saha (not verified)on Mon, 04/27/2015 - 10:23

my question is how to creat a comment box for each id , i use MYSQL in my project for each update how i to make comment box please reply ... or if you already have this code please mail me [email protected]
Submitted byMehdi Naji (not verified)on Thu, 05/21/2015 - 21:19

Thanks for leaving such source codes to teach others you are just awesome
Submitted bymirasplet (not verified)on Thu, 01/12/2017 - 03:02

how to put in to web site?
Submitted by928roi4bjtq'23… (not verified)on Sat, 01/28/2017 - 03:39

i am yet to try it
Submitted byHelloes To All (not verified)on Mon, 02/20/2017 - 15:33

is it? it is!
Submitted byWalsta (not verified)on Sun, 09/17/2017 - 18:16

my database name is wlasta_commen_box, how to give db.php in this database name. $con=mysqli_connect("localhost","root","","walsta_comment_box"); what this wrong i'm using this web site hosting.. pls help how to correct this.. thank you..
Submitted bymubeen ali (not verified)on Sat, 06/23/2018 - 19:44

Bundle of thanks.Your file solved me
Submitted byaustin nsesonkpa (not verified)on Fri, 08/24/2018 - 23:15

Great work.keep it up for more...
Submitted byi like what st… (not verified)on Thu, 05/09/2019 - 19:48

i see and i try how do the other one my bro.

Add new comment