laravel view page shoing syntax instead of data code example Example: laravel load view in variable $html = view('users.edit', compact('user'))->render();