first method in whareRow laravel code example
Example 1: DB::table('users')->get();
$users = DB::table('users')->get();
Example 2: DB::table('users')->get();
DB::select('SELECT * FROM users WHERE name = "'.Input::get('name').'"');
$users = DB::table('users')->get();
DB::select('SELECT * FROM users WHERE name = "'.Input::get('name').'"');