Insert and view the data from database without refresh using PHP, MySql, AJax and JQuery. this concept is mostly searching by everyone, here i'm going to show you that, in an usual insert and view take page refresh. so the loading will make page loading delay, so here i'm going use AJAX for make that insert and view without refreshing the page. and i already show you that how to create database and how to insert data in that.
for that we need to make three file to clear explanation. let see those files.
The above three files details below here.
database name : 2my4edge
table name : comment
column names : id, msg, ip_add
add the AJAX details to make operation. let see the AJAXin the same index.php file, we have to
the above is the script for make the function without refreshing the page.
showbox is to show the msg, what was store in the database.the above