Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Product = Product::select('id','ProductWorkpiece','ProductCategory','ProductName','ProductImage','ProductSubCategory')->where('Status','=','1')->Where(function ($query) use ($ProductSubCategory) {
- for ($i=1; $i <= $ProductSubCategory ; $i++) {
- $Product->where('ProductSubCategory', '=', $ProductSubCategory[$i]);
- }
- })->get();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement