How to add multiple AND conditions in laravel query?

We can add multiple AND operator at in a single where() conditions as well as we can also add separate where() for particular AND condition. Example DB::table('client')->where('status', '=', 1)->where('name', '=', 'bestinterviewquestion.com')->get(); DB::table('client')->where(['status' => 1, 'name' => 'bestinterviewquestion.com'])->get();

Popular posts from this blog

Ajax Toggle(on/off) on-click Update

Yii Framework In Update Time View Image In Form