Find the location of an Item in multidimensional array

Finding position of an element in a multi-dimensional array

Read More

How do you Encrypt and Decrypt a PHP String

Mcrypt is a replacement for the popular Unix crypt command. crypt was a file encryption tool that used an algorithm very close to the World War II Enigma cipher. Mcrypt provides the same functionality but uses several modern algorithms such as AES.

Read More

Explode string by last occurrence and get first part

Some of the cases we need to split any string or it may be my URL to split. Now I am explaining to you, how to explode the string by the last occurrence at getting the first part of the string in a single line. This who;e process will be done using Explod

Read More

Convert an array to tree View Jquery

If you have an array of data in a format of parent and child relationships, then you can convert an array to tree View with the help of jQuery.

Read More

How to Clear cache in Laravel

Now we are going to learn, how to clear cache in Laravel. Command - php artisan cache:clear. Basically, there are two ways to clear the cache in Laravel.

Read More

Generate QR code in php using google api

QR code (Quick Response Code) is the trademark for a type of matrix barcode. A QR code is a machine-readable code consisting of an array of black and white squares.

Read More