How to Search Multiple Words at a Time with jQuery AJAX

Sometimes requires searching for multiple words and select records according to words matched instead of the exact words.

With only a single like operator, it is not possible to search for multiple words.

Require to split the search term and use it with or and like operators.

In this tutorial, I am using the jQuery UI library for displaying a suggestion list according to the search input.

How to Search Multiple Words at a Time with jQuery AJAX

Read more

How to Compress Image size while Uploading with PHP

High-quality images take time to load on the webpage depending on the number of images.

You can create multiple sizes of the image file when uploading and use the low and high-quality images when required.

When reducing an image size then it also decreases its quality.

The best example of this is WordPress, whenever an image file is uploaded then it will generate a different-different size of the file. Those images will use in the theme according to requirement.

In this tutorial, I show how you can compress image size while uploading with PHP.

How to Compress Image size while Uploading with PHP

Read more

jQuery Datepicker to filter records with PHP MySQL

Date filter makes it easier to list records according to specific date range selection.

The user can pick dates and search the list. Records will be displayed according to date selection.

To add datepicker you can use jQuery UI, Bootstrap, or any other jQuery plugin.

In this tutorial, I am using jQuery UI to add datepicker widget and filter the records with PHP MySQL.

jQuery Datepicker to filter records with PHP MySQL

Read more