Upload and Create Photo Gallery with Photobox in PHP

Photobox is a jQuery library that use to add image gallery on the webpage.

It comes with different options for customization and supports IE8+ and modern browsers.

You need to arrange images in a specific order and initialize Photobox on the container to create the gallery.

In this tutorial, I am using the Photobox library to create the image gallery by reading uploaded images from a directory with PHP.

Upload and Create Photo Gallery with Photobox in PHP

Read more

How to Create AJAX Pagination in CodeIgniter

AJAX based pagination load content without reloading the whole webpage and improve the user experience.

CodeIgniter has the pagination library to add pagination.

From the controller need to handle the AJAX request which sendsĀ from the view.

In this tutorial, I show how you can create AJAX pagination in CodeIgniter.

How to Create AJAX Pagination in CodeIgniter

Read more

Confirmation alert Before Delete record with jQuery AJAX

It is safe to display a confirmation alert before deleting a record from the MySQL database table.

If the user has accidentally clicked the delete button on the wrong record then it has a choice whetherĀ to delete or cancel it.

Confirm box can easily add using confirm() method.

But in this tutorial, I am using the Bootstrap Bootbox.js library to display the confirm box.

With jQuery AJAX delete a record from the MySQL database with PHP on the confirmation.

Confirmation alert Before Delete record with jQuery AJAX

Read more