(“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 [php] Schema::create(‘users’, function (Blueprint $table) { //$table->increments(‘id’); $table->string(‘name’); $table->string(’email’)->primary(); $table->string(‘mobile’); $table->timestamp(’email_verified_at’)->nullable(); $table->string(‘password’); $table->string(‘role’); $table->string(‘plan’); $table->string(‘job_portal_role’)->nullable(); $table->boolean(‘status’); $table->rememberToken(); $table->timestamps(); }); [/php] business_profiles migration … Read more

How to submit HTML form’s data to Google Sheet | Sending HTML Form’s data to google sheet

Sometimes, you need to record Html form’s data into Google sheet so that you can use this data later. I am going to explain how can we do this by using HTML form and google sheet. HTML Form Code [php] <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, minimum-scale=1.0"> <title>Contact … Read more

Custom Login and Registration in Laravel

In this post i am going to tell you how can we make custom login and registration in Laravel so first i need to create a registration page.For that, i need to create a blade file called registration.blade.php  and this file will be created under resources > views registration.blade.php [php] @extends(‘layout.main’) @section(‘maincontainer’) <!– three black card … Read more