How to create Modal . controller and index page in Laravel
=================================================
Model= college.php
=================================================
name;
$pn = $collg->pin;
return view('College.index',compact('nm','pn'));
}
}
=====================================================
Views= index.blade.php
=====================================================
LaravelAPP
Welcome to laravel
{{$nm}}
{{$pn}}
======================================================
Routes= web.php
======================================================
Auth::routes();
Route:: get('/index','CollegeController@index');
agyanadda
Author & Editor
Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.
0 $type={blogger}:
Post a Comment