Menu
Can someone take a look at this and tell me whats wrong? I need $num to increment from 0 to totalRows_scroll.
[code=php]
<?
for($i = 0; $i <= $totalRows_scroll; $i++) {
$num = $i;
//echo $num .”<br>”;
}
do {
$title = $row_scroll[‘title’];
$link = $row_scroll[‘link’];
echo “messages[$num]=<font face=’Arial’><a href=’$link’>$title</a></font>”;
} while ($row_scroll = mysql_fetch_assoc($scroll));
?>