laravel where inside select method code example
Example: DB::table('users')->get();
DB::select('SELECT * FROM users WHERE name = ?', array(Input::get('name')));
DB::select('SELECT * FROM users WHERE name = ?', array(Input::get('name')));