Skip to content
Advertisement

inserting user in database from regitration form laravel 8

i am working on a e-commerce website using laravel 8 for the first time i created a login and registration views, when i try registering first it flashed iccorrect email adresse in session error that is displayed in register.blade.php after fixing that it redirected me to an error page with this text :

JavaScript

my route is acctually set to POST did i forget some thing ? here is my web.php

JavaScript

here the register.blade.php

JavaScript

here is the auth controller with the methode create() :

JavaScript

Advertisement

Answer

You have an syntax error, it is not methode= but method="POST"

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement