This Query is working
$conditions = [
'status' => '1',
'country' => "DK"
];
$offers = Offers::where($conditions)->get();
How can i use LIKE %% in this
When i tried this in single condition , its working
$offers = Offers::where('country' , 'LIKE' , '%DK%')->get();
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire