Created
January 22, 2020 20:27
-
-
Save peterson-umoke/e44b93970a9b4b8f00e3d204fe3abed3 to your computer and use it in GitHub Desktop.
how to use modal inside laravel view template
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 | |
$users2 = DB::select('select * from users where active = ?', [1]); // user raw sql and prepared statements | |
$users1 = DB::table('users')->get(); // using query builder | |
@endphp | |
dd($users1) | |
dd($users2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, this is very helpful. I will try this out.