Skip to content

Instantly share code, notes, and snippets.

🌎
God loves you!

William Beeler williambeeler

🌎
God loves you!
Block or report user

Report or block williambeeler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View foreachloop.php
<?php
$count = 1;
foreach( $items as $item )
{
if ($count%5 == 1)
{
echo '<div class="5-results-wrapper">';
}
echo '<p>Some item</p>';
You can’t perform that action at this time.