Refresh a div at every 10 seconds


Some cases we need to refresh a part of a web page in a specific interval of time. For e.g., Cricket score board, share market updates, online users etc.. In these places we need to refresh a part of web page without reloading the whole page.

Refresh a div at every 10 seconds
Click image to view LargerBy using Jquery, Ajax and PHP we can refresh a div and make that area of web page up to date. So that your web page will become more user friendly and more attractive.

Below I will explain how to do that. If you want you can view demo and download the example file below.

Continue reading

PHP Ajax image upload

By using PHP Ajax file upload system we can overcome limitations of conventional image upload. The main disadvantage of conventional image upload system is once we click upload we have to wait until the image got uploaded and also we can’t see the preview of uploaded image.

Upload image dynamically
Click image to view Larger
To avoid that we are using Ajax PHP image upload system. This system works on basic Ajax PHP concept. Which will avoid page refresh and we can see live preview. Below I will explain how to do that.

Continue reading

Pagination in PHP

Pagination is the process to split huge number of records in order to create dynamic pages. By using PHP we can easily setup a pagination script to display record from database. Pagination is mainly used in search result and displaying the table of content like name and address.

Pagination in PHP
Click image to view Larger
So in this example I will explain you how to setup a simple CSS styled PHP pagination script.

Above image will explain you how pagination will work? You can view demo or download the example file below and custimize to your requirement and layout.

Continue reading