I need a foreach loop to loop 20 times even if the values within are empty can anyone help me i am not sure how to do it.
$count = 0;
if (count($values > 20)):
foreach ($values as $value):
$count . $value
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!