Continue reading How to open WhatsApp chat without saving the number as a contact

How to open WhatsApp chat without saving the number as a contact

A few days back, I was checking OLX app for a rental house in my town. Within a couple of minutes of searching I have got more than 10 results matching my requirements. Then I shortlisted 3 or 4 houses and decided to chat with the house owners via WhatsApp, so that I can get…

Read more How to open WhatsApp chat without saving the number as a contact 3 Comments on How to open WhatsApp chat without saving the number as a contact
Continue reading Partial string search in an array using PHP

Partial string search in an array using PHP

I couldn’t find an out-of-the-box PHP function to do a partial string search in an array of strings. So I had to write a simple helper function using strpos for a WordPress project, I am working on. Partial string search in an array using strpos Here is the gist in case you need it. Let…

Read more Partial string search in an array using PHP 0 Comment on Partial string search in an array using PHP
Continue reading Countdown redirect using JavaScript

Countdown redirect using JavaScript

Last day I had to touch my front end developer’s code in order to change the redirect scenario. So today I will share that piece code here with you. Let’s see how to make a countdown redirect using JavaScript. Sometime during our front-end development, we may wish to have a redirect that pauses for few…

Read more Countdown redirect using JavaScript 2 Comments on Countdown redirect using JavaScript
Continue reading Laravel Bail – Stopping On First Validation Failure

Laravel Bail – Stopping On First Validation Failure

Today let’s see what Laravel Bail rule does for you ๐Ÿ™‚ Out of the box, Laravel provides many useful and generic validation rules. But in my opinion the Laravel documentation is not that good. Sometimes we may not find the required thing in documentation but still it is available through code! Last week I went…

Read more Laravel Bail – Stopping On First Validation Failure 4 Comments on Laravel Bail – Stopping On First Validation Failure