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');
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lYHV8j
via IFTTT
Aucun commentaire:
Enregistrer un commentaire