Skip to content
Advertisement

Tag: laravel-6

dropdown is populating empty list in laravel 6

Laravel Version 6. PHP 7.4. I simply wants to populate my dropdown values form database table. Initially, It was returning error “variable undefined” but when I enclosed my code into if condition, my error was gone but drop-down list is empty. Please suggest where I’ m stuck. Route.php Controller View I also tried “dd($records);” but nothing happens. Answer First Make

ArgumentCountError Too few arguments to function 0 passed and exactly 1 expected in Laravel

I’m trying to update a record in my laravel application In my app management blade I have a link to a single record

laravel 6 login successfully but redirect to login page

My environment is MAMP server on MACOS. LoginController.php public function authenticate(Request $request) { $this->validate($request, [ ’email’ => ‘required|email’, …

Advertisement