where larave code example
Example 1: DB::table('users')->get();
DB::select('SELECT * FROM users WHERE name = ?', array(Input::get('name')));
Example 2: DB::table('users')->get();
DB::select('select * from users ');
DB::select('SELECT * FROM users WHERE name = ?', array(Input::get('name')));
DB::select('select * from users ');