I\'m trying to create the following front-end using a PHP loop and Twitter Bootstrap\'s 12 column grid system:
The HTML output is:
Why don't you evaluate your modulo?
$two = false; if($i%3 == 2) { Content... $two = true; } if($i%3 == 1) { if($two) { Content... } else { Content... } }