$vehicleNo=strip_tags(trim(Input::get('vehcleNumber1'))) . '-' . strip_tags(trim(Input::get('vehcleNumber2')));
its an vehicle no typed in textfield and i want to check this data already exist in $vehicles(array of data of vehicles no) or not
$date = Carbon::today()->subDays(1);
$vehicles = Customer_details::select('vechicle_no')->where('branch_id',$branchId)
->where( 'entry_date', '>=', $date)
->get()->toArray();
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire