Category: PHP

How to create Ajax Pagination with jQuery & PHP

we are going to see an example PHP code to add ajax pagination to a list of records retrieved from database. pagination is a very important part where huge numbers of records are listed from the database. jQuery function call to get data in mysql table using Ajax.  INDEX.HTML In avbove Request Call function (request_call) to call […]

PHPMailer All Feature

In this article we have talk about why you should use PHPMailer instead of PHP mail() function and we have show some code samples on how to use this library. PHPMailer is one of the most popular open source PHP libraries to send emails. Although it was released in early 2000s, it is now a […]

Increment & Decrement in Laravel 5

If you want to increment or decrement opration using update() method of laravel query builder then you also do that, i am showing you how to increment and decrement value of column in table by using increment(), and decrement(). Both of these methods accept at least one argument the column to modify. A second argument […]

PHP array_diff_key() Function

The array_diff_key() function is used to compare the keys from an array against the keys from another array and returns the difference. This function is like array_diff() except the comparison is done on the keys instead of the values. An array containing all the entries from array1 whose keys are not present in any of the other […]