Live PHP Comment System using Ajax Jquery
HTML-код
- Опубликовано: 28 дек 2017
- How to make comment system using PHP with Ajax, Jquery, Bootstrap and Mysql. How to create Nested Comment System in PHP with Ajax. How to developed Live comment system using Ajax JQuery with PHP Mysql.
For Source Code & Online Live Demo - www.webslesson....
Really Good and Hard Working with best solution of comment...Thanks
how to set email notification if someone has commented on the post?
This a good basis for a good comment system, just needed some more columns in the table and some twitches in your code and voilá
Thanx a lot for sharing
good job, sir john smith, remember to answer the questions of the subscribers
Storing values in the client side is not recommended they can get manipulated in developer console and sent to the server..
you do very good tutorials and I was able to progress in my projects very very very quickly
Hello, it's working perfectly, to use it on my online website I must to modify something? Thanks
It's working perfectly.
Thank you Weblesson.
Great channel and tutorial ! Ajax still seems a little confusing to me, so can you please expand this tutorial and teach us how to bring down the comment form under a specific comment when we click the reply button?
you can use jquery to show the comment area instead of focus
best
ever best
@@macpaulitepu both are have different mean
somehome its not working for me ... :(
Sir please help me . It says allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in fetch_comment.php on line 40
Basically it is the code
$statement->execute();
Did you ever figure it out?
Thank you so much. Very helpful tutorial.
Thanks for the video.
Please how can I use the code for multiple webpage with different id?👈
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16384 bytes)
I got this error after adding it to my website
Gud work!! Amazing
Great tutorial
A good one. Just saved me a lot.
You are the best, Let God give you long life. bless
what did you give the table name in SQL section? plus it would be good if you would lead us from phpmyadmin through step by step.
Thank you very much for your tutorial sir, it's work
I want to do it for each ID, how to do that ? I want to all pages(posts) have each comment box.
Thanks brother for the tutorial 😊
Ajax not working, comment added in db only.. but not fetching.. pls help
how do you make it not go thru the box and have it add lines?
If i want to show comments with pagination than how it will work ?
please suggest me ....
thx for ur tutorial
Good work sir, but how have we get hide button
I meet the error ,same row show on multiple times , Please solve this problem
How to write this script in codeigniter
I have three table
1) comments
2) member
3) group.
I want to add comments and display it using ajax only for that member in only that group from where the parent comments is added.
Good tutorial,, I can learn many more, thanks
up
Pls give me a tutorial for free SMS gateway in php... And what sms gateway is best one...
great tutorial
good stuff - easy and works great! thankyou.
how to handle all the comments if the users are adding comments using different browsers ?
can anyone verify if this is still valid in 2020? was following some tutorials and turned out they were not compatible with modern browsers (they were anywhere between 2013-2016). would hate to follow along again and find out when i get near the end that some piece of the code is incompatible...
how to connect this
comment table news table
thank you sir this video is very helpful
It's very help full.
nice you made my work easy
very good Sir, thank a lot!
Thanks you so much sir for a great tuts..
Muchas gracias.
how to apply on codeigniter please guide me
Thank u for this awesome video
His tutorial is really nice but what if we i have several other post and we want each post to have it own comment
add an extra condition to the query so where id = :id
Thank you very much
thanks you. very good this tutorial
Good Tutorail And thanks alot
Great tutorial Sir, I have a question how can i add some functions like inserting a delete and edit button from the replies section? Thank you I hope you answer my question
u'll need session for that bro, if tht comment without registration
How Can I get an independent system blog if i've more than two articles
Explain
i dont know why the comment doesnt display i did everything said in the video HELP!!!
Great tutorial.Thank you!
yhh
You're awesome. Thanks a lot!
Helped me a lot
Thanks
It helped me a lot. Thank you very much!
I too convey my thanks.
I would like more videos please.
Fantastic men!!!
Thanks sir, Brilliant
Downloaded source code but not working
ajax is not responding i have to refresh the page for the comments to load
@janith umayanga Hi. The script show all comments for all posts. How can I list only comment for a single post?
@@worksfatherwemagic3152 add a condition in your db query 'where id=:id'
awesome
Great tutorial! Thank you ;)
Thank you, it get works, Can you teach us "how to get(collect) email or phone Numbers from web"
Great tutorial, but I have a question, how to change the code if you wanna use PHP to connect to database?
paste the upper code in notepad and save it with extension .php and your work is done
Try using OOP whenever possible.
Class DbConnect ()
{
Protected $con = New MySqli....etc.
//If connected
Return $con
Else
//Return false
}
how did he make the comment show without refreshing the page?
He used Javascript, Jquery and Ajax.
can we do it using jsp JavaScript
THE ISSUE I AM HAVING IS THAT IT'S NOT BRINGING OUT THE COMMENTS ...ANY OPINION???
Nice
thanks
What version of php are you using?
Ahhh your voice is clearer lol thank you ;)
Hello, great video! What if the users are basicly my website’s members? Membership controls by php, using mysql database. Is there a system like, if a member wants to write a comment, his name automatically filled, on the other hand if a non-member user wants to write comment he can type his nickname ? thank you so far
store user infomation in $_SESSION (php) when user is logged in. And do logic in your view page..
Hint. CodeIgnter + IonAuth + this video info.
Awesome!!!
thank you
sorry ..when I click submit nothing happens? what is the problem?
IT DOESN'T ECHO COMMENT ADDED??
Thanks a lot
Good
there is a bug second reply to comment displayed as reply to reply
nice
AJAX call is not working. Comment is being added only after page refresh. Help, please
I am facing the same problem can anybody suggest something?
good
how i can do it with MVC ????
Super useful! Is it possible to withheld comments for approval ( that would obviously be loosing the live comments purpose but i still need to send some comments to admin for review before to publishing them on live page) Thank you very much
SignalSource by
SignalSource
can make real time comment?
nyc
sir this is good tutorial..the index function are good...but something went wrong in my database..i cannot send the comment on the database..??what is the problem? is it in the query? and also why is it u use (:)this in declaring the VALUES instead of ($)??(:parent_comment_id, :comment,:comment_sender_name) cause the comments and the commen_sender_name are not save on my database?? sir pls help me..im just only a begginner..so pls help me sir..thank u..
because he used PDO
hello sir can you give me the source code file
Sir wiil you please make a multilevel real time commenting system with laravel ajax.... thanks
Request on Fiverr?
Thank you
Thanks
the code doesn't seem to be working in mozilla firefox..
UPDATE
great
bro can you make pagination for this comment section i am trying to do but i am getting error
Paginate based on the parent_id count
sir plz tell me how to add smily faces in comment nd star rating system
the tutorial of star rating system is on the video list , check it
This tutorial seem older than the date you published it out,you use bootstrap 3.3.6 and why did you use bootstrap cdn but not download it?
YOU CAN USE D CDN IF YOU DONT HAVE IT ON YOUR SYSTEM
AND YOU CAN ALSO USE IT IF DOWNLOADED AS LONG AS YOU DON'T CHAMGE D FILE NAME AND IT'S INCLUDED IN THE DIRECTORY
i want code entirely , the data is not entering into database
THAT'S THE CODE ENTIRELY
CHECK YOUR INSERT STATEMENT
multilungual site please please
thank
next tutorial "multilanguage site " in PHP ??? it will be great help THANK YOU***********************
I'm using CodeIgnter . Upon selecting language set a session variable the refresh the page. The controller loads language files based on $this->session->userdata('userlang');
How if there 100 comment reply?
I'm sure you could limit that. before insert
Hello Sir Programmer. Is it easy to code seen and not seen functions like facebook? How can we do this? :) just like when you click the button, it represents to the admin that you have seen and read the message. Thanks. Look forward for your reply. God bless :)
hi
You haven't shown its database structure.. But by the way video was very nice and helpful..
1:41 there is the structure