+ 2

How to post a comment without refreshing the page in PHP?

My form contains a textarea and a submit button pliz give me the code

10th Feb 2018, 10:42 AM
Pukhramabam Prameshwormani Singh
4 Antworten
13th Feb 2018, 6:43 AM
Mohammad Zarchi
Mohammad Zarchi - avatar
+ 1
Comments are basically stored in the database table. Now to save the new comments or comments reply, you can make use of jQuery AJAX method http://www.yogihosting.com/jquery-ajax/. This method will not reload your page. You can call the php page which adds the comments on the database table. In the same you can also fetch new comments from the database using jQuery Ajax method. So there will be no page reloading anywhere.
25th Feb 2018, 11:41 AM
Lana
Lana - avatar