Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Http\Controllers;
- use Illuminate\Http\Request;
- use Illuminate\Support\Facades\DB;
- class KelasController extends Controller
- {
- public function index()
- {
- $data['kelas'] = DB::table('t_kelas')->get();
- return view('kelas', $data);
- }
- }
Add Comment
Please, Sign In to add comment