In this tutorial I am going to discuss how to show data from database on page load<\/strong>. With the help of AJAX we are going to achieve this. I know AJAX is one of the very hot topic for PHP beginners. Because it is using almost in every site. I will use jQuery<\/a> and its ajax function to trigger ajax. <\/p>\n Also Read:<\/p>\n I will create a page that shows customer information in a table. I will achieve this with the help of following steps.<\/p>\n\n
What I am going to do?<\/h3>\n
\n
(index.php)<\/code>. I will also show a loading bar unless I get the data.<\/li>\n
ajax_get_data.php<\/code>.
ajax_get_data.php<\/code> fetch records from mysql database using MYSQLi OOP<\/a>.<\/li>\n
index.php<\/code> page.<\/li>\n<\/ul>\n
\n