Created
February 6, 2025 21:10
-
-
Save sulemani39/c929e73cda9139baa68279fdf11d7e04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Support\Facades\DB; | |
Use Illuminate\Http\Request; | |
class SiswaController extends Controller | |
{ | |
public function index() | |
{ | |
$siswa=DB::table('siswa')->get(); | |
return view('siswa.index',['siswa'=>$siswa]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment