This my query in which I want to use variables to be compared with the fields in the database table to get the price field from it.
$price = DB::table('price')
->where([
['days_id', '=', $days] , ['deals_id' , '=', $selected_deal]
])
->value('price');
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire