Changeset d9c4096 for app/Http/Controllers/OfficerController.php
- Timestamp:
- 02/10/24 17:58:54 (9 months ago)
- Branches:
- main
- Children:
- 92df8cd
- Parents:
- 6dec591
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Controllers/OfficerController.php
r6dec591 rd9c4096 7 7 use Illuminate\Http\Request; 8 8 use Illuminate\Support\Facades\DB; 9 use Illuminate\Support\Facades\Session; 9 10 10 11 class OfficerController extends Controller … … 12 13 function employees() 13 14 { 15 if(Session::get('pe_id') == null) { 16 return view('login'); 17 } 14 18 $results = DB::select('select * from policeman join people on policeman.pe_id = people.pe_id;'); 15 19 return view('employees', [
Note:
See TracChangeset
for help on using the changeset viewer.