Quote:
Originally Posted by Almax1
Parse error: parse error in /xxx/xxx/xxx/topp.php on line 15
had tried that bit of code earlier already
thanks for trying though
any clues ??
|
You're missing a closing brace for the loop. If you indent this way, it is far easier to read:
PHP Code:
while ($topposters = mysql_fetch_array($postsresult))
{
if (($counter++ % 2) != 0)
{
$bc=$bc1;
}
else
{
$bc=$bc2;
}
}