Q:

Why am I getting an error in this code?

Here's the code: http://pastebin.com/UViXYHk1
This is the error I get: Parse error: syntax error, unexpected ';', expecting ')' in blog.php on line 32
Anybody have an idea?

A:

You need to change this line 
<?php if( $c < 4 ) : for ($dummy= $c; $dummy < 5; $dummy++;) : ?>

to
<?php if( $c < 4 ) : for ($dummy= $c; $dummy < 5; $dummy++) : ?>

Notice you had an extra semi-colon in your for() loop

