{% else-1 %}
(5 май 2016, 00:07) (2/0) [2]
tsar, на
<?php

$num = 0;

for ($i = 1; $i <= 3; $i++)
{
echo '<div class="row">'."\n";

for ($i2 = 1; $i2 <= 3; $i2++)
{
echo '<div class="col-xs-6">'. ++$num .'</div>'."\n";
}

echo '</div>'."\n";
}

?>
(4 май 2016, 23:40) (0/0) [0]
tsar,
<?php

for ($i = 1; $i <= 3; $i++)
{
echo '<div class="row">'."\n";

for ($i2 = 1; $i2 <= 3; $i2++)
{
echo '<div class="col-xs-6">xxx</div>'."\n";
}

echo '</div>'."\n";
}

?>
  • 1 из 1