below is my query...
DB::table('sometable')
->join('sometable','sometable.ID','=','manytable.ID')
->where('manytable.SBPlan','00')
->where('manytable.NetStatus','0')
->select()->get();
for the above query i need one more condition
->where('manytable.Status','00')
->where('manytable.Status','21')
if manytable.Status==00
or manytable.Status==21
then select.. how do we fix this? i have already tried
->orwhere('manytable.Status','00')
->orwhere('manytable.Status','21')
but did got a wrong result...