Actually my query is - SELECT * FROM company WHERE status<>$status AND type=$b1 AND type=$b2
How to do this in laravel...?
I did this in laravel but it is not working..
$data['Company']=DB::table('company')->where([["status","<>",$status], ["type","=",$b1],["type","=",$b2]])->get();
Please help me on this..
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2wnyEcQ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire