$price = DB::table('price')
->where([
['days_id', $days AND 'deals_id', $selected_deal] ])
->pluck('price');
I'm using this code to get single price only but it give me all prices where these to conditions are coming
But when i insert $price in the table it give many prices 40,60,80,100,120,140
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lVrPN8
via IFTTT
Aucun commentaire:
Enregistrer un commentaire