Ranjeet Kumar

How to Datatable with ajax in Codeigniter

In this topics we will discuss how can we make data retrive by using Ajax with Codeigniter framework. In this system we will use DataTables Jquery plugin for display data in tabular format. Here we will implement DataTables server side processing by using Ajax using Codeigniter. Controller to View HTML Code Jquery Code (Datatable Plugin […]

How to use get_where in codeigniter

CodeIgniter is a framework based on MVC principles. As a result, you would usually separate application logic, data abstraction and “output” into their respective areas for CodeIgniter use. In this case: controllers, models and views. to get data using a where condition in Codeigniter you need to use below syntax. $this->db->get_where() allows you to create a SQL […]

How to Login with Facebook in CodeIgniter

Integrate Facebook login is the most used feature for today’s web application. Login with Facebook feature helps users to log into the web application easily. In this tutorial, we’re going to explain how to integrate Facebook login in CodeIgniter using Facebook PHP SDK with Facebook Graph API. Before you begin to integrate Login with Facebook […]

How to calculate total price using keyup function in jquery or javascript

The keyup() method triggers the keyup event, or attaches a function to run when a keyup event occurs. You can use parseFloat and parseInt to get the values from the other inputs, toFixed to ensure the final value looks like currency (remove that if it’s not needed), and provide a fallback of 0 in case […]

PHP array_sum() Function

It calculates the sum of values in an array and returns the sum of values in an array as an integer or float. PHP versions prior to 4.2.1 modified the passed array itself and converted strings to numbers (which often converted them to zero, depending on their value) Parameter Description array Required. Specifies an array […]

How to Integrate Payumoney Payment Gateway in PHP

In this tutorial i am going to explain How to Integrate Payumoney Payment Gateway in PHP. Most of thing are already in PayU documentation i am just going to explain it in step so you will easily integrate without reading whole document. You may also like Paypal Payment using PHP and How to integrate Paypal payment gateway using […]

How to validate files using bootstrap validator

bootstrapValidator.js plugin gives client side validation without page refresh. We can use simply. validator.js plugin we can add validation in our PHP project, or any framework like laravel framework, codeigniter framework, symphony framework etc. This is very interesting and simple. You may also like How to Remote call using bootstrap validator and How to validate bootstrap form using […]

PHP array_slice() Function

PHP has a built – in function, array_slice() , that you can use to extract a range of elements from an array. To use it, pass it the array to extract the slice from, followed by the position of the first element in the range (counting from zero), followed by the number of elements to […]