Created
August 16, 2023 11:24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$owner = Input::get('owner'); | |
$count = Input::get('count'); | |
$product = Product::whereOwnerAndStatus($owner, 0)->take($count)->get(); | |
when i want to use foreach to loop for $product result with code like this: | |
foreach ($product->sku as $sku) { | |
// Code Here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment