DataTable using Codeigniter, MySQL and AJAX

I will show you how we can use DataTable API 1.10 in Codeigniter framework. You may also be interested in DataTable CRUD Example using Codeigniter, MySQL and AJAX

Grid view in an Web page is a very important now-a-days. Functions like sorting, searching, pagination is not an easy job in HTML tables. One of many grid view frameworks, an open source, light weight, highly flexible and customizable DataTable API is the most popular among. It offers features like AutoFill, inline editing, sticky header, responsive, and supports bootstrap. In version 1.10 DataTable has changed and improved over other versions. Continue reading “DataTable using Codeigniter, MySQL and AJAX”

Codeigniter, AJAX Voting/Rating System

We post tutorials, articles or blogs either to our own blog site or as a user to other sites. Sometimes we need to let user rate on our tutorials or articles or blogs so that we know how much that blog is famous or how much that blog is intended to be accepted by readers.

Here I am going to show you how we can implement a simple voting/rating system using AJAX, Codeigniter so that everyone will get an idea how to do it. In this example I have given one sample content on which you can rate this. The rating/voting system is calculated by taking average on accumulated votes on five stars. Once you give vote/rate from your system you cannot give vote or rate next time. As soon as you cast your vote or rate you can see it instantly the updated vote as well as you can also see what vote/rate you have cast. When you mouse over on stars you can see the highlighted stars on how many stars vote/rate you want to cast.
Continue reading “Codeigniter, AJAX Voting/Rating System”

HighChart using AJAX, Codeigniter

We know that highchart basically displays different statistical data on different chart types such as column chart, bar chart, line chart, pie chart etc. You can have a look at the URL for more information.

You can integrate highchart with any server side tehnology but here I will show you how to integrate highchart with Codeigniter framework. This tutorial shows step by step so that we can understand how it happens. It displays the data for site visitors log in line chart. I have also put a calendar for date-picker so that you can pick a custom range of dates and get the visitor statistics in highchart. The calendar has more features like you can select Yesterday, Last One week, Last One month etc. On mouse hover on the line chart you can see the visitors count on a particular date. Continue reading “HighChart using AJAX, Codeigniter”