Answers for "load view with data laravel"

PHP
4

laravel load view in variable

$html = view('users.edit', compact('user'))->render();
Posted by: Guest on October-07-2020
0

laravel view data

use TCG\Voyager\Models\Jobtype;

class FormController extends Controller
{
public function index()
{
   $category = Jobtype::all();
   return view('contact', compact('category'));

}
}
Posted by: Guest on July-21-2021
4

laravel load view in variable

$html = view('users.edit', compact('user'))->render();
Posted by: Guest on October-07-2020
0

laravel view data

use TCG\Voyager\Models\Jobtype;

class FormController extends Controller
{
public function index()
{
   $category = Jobtype::all();
   return view('contact', compact('category'));

}
}
Posted by: Guest on July-21-2021

Browse Popular Code Answers by Language