okay i know that title of this topic is not explaining what i want so ill try explain it bellow
if i have this code on page (its not the whole code but ull get what i want)
while ($what = mysql_fetch_array($bla))
{
echo "<div class=\"links\"><a href=\"video.php?id=$what[0]\">".htmlspecialchars($what[3])."</a></div><br/>";
}
so on the page this will put all the links one after another... which is okay, i want that lol but i also want every 2nd background to be another color!
example:
1st link BLACK BACKGROUND color
2nd link WHITE BACKGROUND color
3rd link BLACK BACKGROUND color
4th link WHITE BACKGROUND color
i hope u understand what i want and i would be greatful 4 any help
eeeeerrr....