php - Why am I getting an error in this code? -


here's code: http://pastebin.com/uvixyhk1

this error get: parse error: syntax error, unexpected ';', expecting ')' in blog.php on line 32

anybody have idea?

you need change line

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

to

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

notice had semi-colon in for() loop


Comments

Popular posts from this blog

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -