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....

Комментарии • 153

  • @lagajjar
    @lagajjar 2 года назад

    Really Good and Hard Working with best solution of comment...Thanks

  • @marshal523
    @marshal523 5 лет назад +4

    how to set email notification if someone has commented on the post?

  • @sergiomayo2515
    @sergiomayo2515 5 лет назад

    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

  • @drivegr2497
    @drivegr2497 6 лет назад

    good job, sir john smith, remember to answer the questions of the subscribers

  • @robinviscos6612
    @robinviscos6612 4 года назад +1

    Storing values in the client side is not recommended they can get manipulated in developer console and sent to the server..

  • @parsifall6746
    @parsifall6746 5 лет назад

    you do very good tutorials and I was able to progress in my projects very very very quickly

  • @MrSTEFFKE
    @MrSTEFFKE 2 года назад

    Hello, it's working perfectly, to use it on my online website I must to modify something? Thanks

  • @DoLittleWithPalash
    @DoLittleWithPalash 3 года назад

    It's working perfectly.
    Thank you Weblesson.

  • @RoccoSuasito
    @RoccoSuasito 6 лет назад +5

    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?

  • @shahroz01
    @shahroz01 4 года назад +2

    somehome its not working for me ... :(

  • @patrickperalta6811
    @patrickperalta6811 4 года назад +1

    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();

    • @obiboy7590
      @obiboy7590 4 года назад

      Did you ever figure it out?

  • @elvaaroharefa8063
    @elvaaroharefa8063 2 года назад

    Thank you so much. Very helpful tutorial.

  • @eliezersunny
    @eliezersunny Год назад

    Thanks for the video.
    Please how can I use the code for multiple webpage with different id?👈

  • @thaqifashraf5695
    @thaqifashraf5695 Год назад

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16384 bytes)
    I got this error after adding it to my website

  • @HuyPhanTien
    @HuyPhanTien 2 года назад

    Gud work!! Amazing

  • @itumelengmongwegi4426
    @itumelengmongwegi4426 4 года назад +1

    Great tutorial

  • @Wabwire-Ronald
    @Wabwire-Ronald 3 года назад

    A good one. Just saved me a lot.

  • @melovefashion9097
    @melovefashion9097 5 лет назад

    You are the best, Let God give you long life. bless

  • @allahkiphudi
    @allahkiphudi 5 лет назад

    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.

  • @gilangbimantara2688
    @gilangbimantara2688 4 года назад

    Thank you very much for your tutorial sir, it's work

  • @monsieurchanel7088
    @monsieurchanel7088 4 года назад

    I want to do it for each ID, how to do that ? I want to all pages(posts) have each comment box.

  • @Abubakar-mj2dk
    @Abubakar-mj2dk 2 года назад

    Thanks brother for the tutorial 😊

  • @mahalakshmi_-_5123
    @mahalakshmi_-_5123 5 лет назад

    Ajax not working, comment added in db only.. but not fetching.. pls help

  • @physicsandmathemathicssimp833
    @physicsandmathemathicssimp833 4 года назад

    how do you make it not go thru the box and have it add lines?

  • @juhivishnoi1694
    @juhivishnoi1694 5 лет назад

    If i want to show comments with pagination than how it will work ?
    please suggest me ....

  • @novanharsan
    @novanharsan 3 года назад

    thx for ur tutorial

  • @HuyPhanTien
    @HuyPhanTien 2 года назад

    Good work sir, but how have we get hide button

  • @rollintamil975
    @rollintamil975 3 года назад

    I meet the error ,same row show on multiple times , Please solve this problem

  • @explorewithme131
    @explorewithme131 6 лет назад

    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.

  • @kode1017
    @kode1017 6 лет назад +1

    Good tutorial,, I can learn many more, thanks

  • @mahalakshmi_-_5123
    @mahalakshmi_-_5123 5 лет назад +1

    Pls give me a tutorial for free SMS gateway in php... And what sms gateway is best one...

  • @PedroTechnologies
    @PedroTechnologies 4 года назад

    great tutorial

  • @eldonpreston246
    @eldonpreston246 6 лет назад

    good stuff - easy and works great! thankyou.

  • @shaileshkandel6017
    @shaileshkandel6017 5 лет назад

    how to handle all the comments if the users are adding comments using different browsers ?

  • @IzludeTingel
    @IzludeTingel 4 года назад

    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...

  • @khishgeenaranbat
    @khishgeenaranbat 3 года назад

    how to connect this
    comment table news table

  • @sachinrana2518
    @sachinrana2518 5 лет назад

    thank you sir this video is very helpful

  • @ashanvinod
    @ashanvinod 3 года назад

    It's very help full.

  • @dijiflex
    @dijiflex 5 лет назад

    nice you made my work easy

  • @Canh080510
    @Canh080510 3 года назад

    very good Sir, thank a lot!

  • @mickychauhan9388
    @mickychauhan9388 6 лет назад

    Thanks you so much sir for a great tuts..

  • @lianabonilla6577
    @lianabonilla6577 6 лет назад +2

    Muchas gracias.

  • @codewithdhaku9556
    @codewithdhaku9556 3 года назад

    how to apply on codeigniter please guide me

  • @AbhishekKumar-mq1tt
    @AbhishekKumar-mq1tt 6 лет назад

    Thank u for this awesome video

  • @edwardbeekamara4051
    @edwardbeekamara4051 6 лет назад +1

    His tutorial is really nice but what if we i have several other post and we want each post to have it own comment

    • @tese9087
      @tese9087 4 года назад

      add an extra condition to the query so where id = :id

  • @ASYtekno
    @ASYtekno 3 года назад +1

    Thank you very much

  • @jurabekabdusattarov
    @jurabekabdusattarov 6 лет назад

    thanks you. very good this tutorial

  • @muhammadtouqeer8738
    @muhammadtouqeer8738 6 лет назад

    Good Tutorail And thanks alot

  • @jhustinegonzales8547
    @jhustinegonzales8547 3 года назад

    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

    • @brorenjenkins815
      @brorenjenkins815 2 года назад

      u'll need session for that bro, if tht comment without registration

  • @diegosalcedo1675
    @diegosalcedo1675 5 лет назад +1

    How Can I get an independent system blog if i've more than two articles

  • @Z3rbir0us
    @Z3rbir0us 4 года назад

    i dont know why the comment doesnt display i did everything said in the video HELP!!!

  • @chamikasandaruwan7258
    @chamikasandaruwan7258 5 лет назад

    Great tutorial.Thank you!

  • @henrykwoek3392
    @henrykwoek3392 4 года назад

    You're awesome. Thanks a lot!

  • @reece7787
    @reece7787 6 лет назад

    Helped me a lot
    Thanks

  • @tienattrinh7980
    @tienattrinh7980 5 лет назад

    It helped me a lot. Thank you very much!

    • @crsundar
      @crsundar 3 года назад

      I too convey my thanks.

    • @crsundar
      @crsundar 3 года назад

      I would like more videos please.

  • @mayogarcia5795
    @mayogarcia5795 6 лет назад

    Fantastic men!!!

  • @professeurmail8666
    @professeurmail8666 5 лет назад

    Thanks sir, Brilliant

  • @jaskarnsinghchandok8892
    @jaskarnsinghchandok8892 3 года назад

    Downloaded source code but not working

  • @ericmaina288
    @ericmaina288 5 лет назад +1

    ajax is not responding i have to refresh the page for the comments to load

    • @worksfatherwemagic3152
      @worksfatherwemagic3152 4 года назад

      @janith umayanga Hi. The script show all comments for all posts. How can I list only comment for a single post?

    • @tese9087
      @tese9087 4 года назад

      @@worksfatherwemagic3152 add a condition in your db query 'where id=:id'

  • @aprastyo3136
    @aprastyo3136 4 года назад

    awesome

  • @tomeksimba5687
    @tomeksimba5687 6 лет назад

    Great tutorial! Thank you ;)

  • @pradeepjayasooriya663
    @pradeepjayasooriya663 3 года назад

    Thank you, it get works, Can you teach us "how to get(collect) email or phone Numbers from web"

  • @JanneTarhanen
    @JanneTarhanen 5 лет назад +1

    Great tutorial, but I have a question, how to change the code if you wanna use PHP to connect to database?

    • @VivekSingh-vt3lk
      @VivekSingh-vt3lk 5 лет назад

      paste the upper code in notepad and save it with extension .php and your work is done

    • @chind0na
      @chind0na 4 года назад

      Try using OOP whenever possible.
      Class DbConnect ()
      {
      Protected $con = New MySqli....etc.
      //If connected
      Return $con
      Else
      //Return false
      }

  • @SixtyNeptune
    @SixtyNeptune 4 года назад

    how did he make the comment show without refreshing the page?

  • @siddhantsalunke596
    @siddhantsalunke596 5 лет назад

    can we do it using jsp JavaScript

  • @checkmybio-
    @checkmybio- 5 лет назад +3

    THE ISSUE I AM HAVING IS THAT IT'S NOT BRINGING OUT THE COMMENTS ...ANY OPINION???

  • @arashasnaashari1097
    @arashasnaashari1097 4 года назад

    thanks

  • @ilzammulkhaq5898
    @ilzammulkhaq5898 6 лет назад

    What version of php are you using?

  • @djnkuli
    @djnkuli 6 лет назад

    Ahhh your voice is clearer lol thank you ;)

  • @denku9649
    @denku9649 5 лет назад

    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

    • @aminjunior3804
      @aminjunior3804 5 лет назад +1

      store user infomation in $_SESSION (php) when user is logged in. And do logic in your view page..

    • @chind0na
      @chind0na 4 года назад

      Hint. CodeIgnter + IonAuth + this video info.

  • @BANYONGBOONCHAN
    @BANYONGBOONCHAN 6 лет назад

    Awesome!!!

  • @tomas6563
    @tomas6563 4 года назад

    thank you

  • @mohammedalguhsaini1164
    @mohammedalguhsaini1164 6 лет назад

    sorry ..when I click submit nothing happens? what is the problem?

    • @checkmybio-
      @checkmybio- 5 лет назад

      IT DOESN'T ECHO COMMENT ADDED??

  • @amanullahwesal2594
    @amanullahwesal2594 6 лет назад

    Thanks a lot

  • @anandhu.k.s.8647
    @anandhu.k.s.8647 4 года назад

    Good

  • @gerard02700
    @gerard02700 5 лет назад

    there is a bug second reply to comment displayed as reply to reply

  • @osiomax8555
    @osiomax8555 4 года назад

    nice

  • @abltt
    @abltt 6 лет назад

    AJAX call is not working. Comment is being added only after page refresh. Help, please

    • @shellygarg7160
      @shellygarg7160 3 года назад

      I am facing the same problem can anybody suggest something?

  • @the_beat
    @the_beat 4 года назад

    good

  • @arminoren1401
    @arminoren1401 5 лет назад

    how i can do it with MVC ????

  • @dibraniuk
    @dibraniuk 6 лет назад

    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

  • @ktech4453
    @ktech4453 5 лет назад

    can make real time comment?

  • @zitunes
    @zitunes 2 года назад

    nyc

  • @ronillim1265
    @ronillim1265 5 лет назад

    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..

  • @haiderali-qn4cg
    @haiderali-qn4cg 5 лет назад

    hello sir can you give me the source code file

  • @priyaakter7746
    @priyaakter7746 4 года назад

    Sir wiil you please make a multilevel real time commenting system with laravel ajax.... thanks

    • @chind0na
      @chind0na 4 года назад

      Request on Fiverr?

  • @acizmutefekkir6303
    @acizmutefekkir6303 6 лет назад

    Thank you

  • @skillissuemusic
    @skillissuemusic 6 лет назад

    the code doesn't seem to be working in mozilla firefox..

  • @wilsonobed5994
    @wilsonobed5994 6 лет назад

    great

  • @AndrosAndWindows
    @AndrosAndWindows 5 лет назад

    bro can you make pagination for this comment section i am trying to do but i am getting error

    • @chind0na
      @chind0na 4 года назад

      Paginate based on the parent_id count

  • @mimrankhan9974
    @mimrankhan9974 6 лет назад

    sir plz tell me how to add smily faces in comment nd star rating system

    • @nyastero
      @nyastero 6 лет назад

      the tutorial of star rating system is on the video list , check it

  • @techcanyon411
    @techcanyon411 6 лет назад +1

    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?

    • @checkmybio-
      @checkmybio- 5 лет назад +1

      YOU CAN USE D CDN IF YOU DONT HAVE IT ON YOUR SYSTEM

    • @checkmybio-
      @checkmybio- 5 лет назад

      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

  • @chandrikachalla9303
    @chandrikachalla9303 6 лет назад

    i want code entirely , the data is not entering into database

  • @asaduzzaman5356
    @asaduzzaman5356 6 лет назад

    multilungual site please please

  • @hanguyenuan4967
    @hanguyenuan4967 6 лет назад

    thank

  • @nepalcodetv6298
    @nepalcodetv6298 6 лет назад

    next tutorial "multilanguage site " in PHP ??? it will be great help THANK YOU***********************

    • @chind0na
      @chind0na 4 года назад

      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');

  • @JY-xv7ic
    @JY-xv7ic 6 лет назад

    How if there 100 comment reply?

    • @chind0na
      @chind0na 4 года назад

      I'm sure you could limit that. before insert

  • @JersonMVproductions
    @JersonMVproductions 6 лет назад

    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 :)

  • @devworldhubvideos9331
    @devworldhubvideos9331 4 года назад

    hi

  • @saurabhsharma5764
    @saurabhsharma5764 5 лет назад

    You haven't shown its database structure.. But by the way video was very nice and helpful..

    • @chind0na
      @chind0na 4 года назад

      1:41 there is the structure