Add Custom filter in DataTables AJAX pagination in CodeIgniter 4

DataTables, a versatile jQuery plugin, provides a built-in search box for global record searches. However, there are instances when a more specific filtering mechanism is needed, such as filtering records based on selected dropdown options or date ranges. Enter custom filters – a tailored solution to refine your data display within a DataTable.

You can create your own custom filters and use them with DataTable.

In this tutorial, I show how you can add custom filter in DataTables AJAX pagination in CodeIgniter 4.

Add Custom filter in DataTables AJAX pagination in CodeIgniter 4

Read more

How to Create custom Validation Rule in Laravel 9

Validation is very important when you are allowing the user to submit <form > or data manipulation using AJAX.

Laravel already provided validation rules that you can use to validate the data. You can create your own validation rules if you are not available to apply specific validation using inbuilt rules.

In this tutorial, I show how you can create and use custom validation rule in Laravel 9.

How to Create custom validation rule in Laravel

Read more

Load content on Page Scroll using JavaScript and PHP

Data is dynamically loaded on the page when the user reaches the bottom of the page while scrolling.

User doesn’t have to click on any action button to load new records. For doing this require sending AJAX request to fetch data on page scroll.

In this tutorial, I show how you can load content from MySQL database on page scroll using JavaScript and PHP.

Load content on page scroll using JavaScript and PHP

Read more