ALL articles of PHP
Laravel 8 url validation example
Sometimes you may want to validate url into your Laravel application. This is helpful in preventing user input invalid url data. In this...
How to create a botman chat application in Laravel 8
Many websites uses automatic bot reply to user query. The Bot automatically reply general queries to user inquiry. This will reduc...
PHP array_combine method example
In this tutorial article, we have PHP array_combine method with example. Suppose we have two array and we want to create one array i.e, one...
How to get last inserted record in PHP
Any table has id field which is AUTO_INCREMENT. So when the record inserted, id is generated automatically generated according to previous r...
Laravel Eager Loading with method example
When you make relationship in Laravel eloquent relationship, there are two ways you can access eloquent relationships data. In a lazy loadin...
Laravel get current URL with parameters example
Sometimes you might want to find the current URL and to write condition. This way, you can add active class to current url link. You also mi...
Copyright 2022 HackTheStuff