How to use implode and explode in PHP

Implode and explode functions in PHP are commonly used function in PHP. These function may be used in PHP frameworks such as Laravel, CodeIgniter. Implode and explode functions are used to work with arrays and strings. So in this article i am going to explain how can can use Implode and Explode function in PHP. … Read more

Replace space with dash underscore in Laravel

Sometimes we need to replace some character or spaces with another character in laravel or any other programming languages similarly today, i am going to explain how can we replace space with dash “-” symbol with spaces between words such as replace space with dash underscore in laravel to replace-space-with-dash-underscore-in-laravel. This is very useful concept … Read more

(“SQLSTATE[HY000]: General error: 1005 Can’t create table (errno: 121 “Duplicate key on write or update”)”)

I am getting the error (“SQLSTATE[HY000]: General error: 1005 Can’t create table (errno: 121 “Duplicate key on write or update”)”) on my Laravel project i have three migrations which are following users migration business_profiles migration ads migration When I try to run migration command on terminal of my visual studio code it shows me following … Read more