I m working on a site that someone else built. The former programmer used a echo of a sql query to produce a scroll effect across the screen. For some reason its not working.
<?php require ('qmbl.php');
$sqlstr = "select i_html from SiteInfo where i_type = 'NEWS_SCROLL'";
$rs_scroll = mysqli_query($sqlstr, $cid);
$scroll = mysql_result($rs_scroll,0,0);
$sqlstr = "select team_id, t_name from Team t, Settings s where t.t_season = s.cur_season order by t_name";
$rs_teams = mysql_query($sqlstr, $cid);
$count=0;
$templateTeams="";
while($row = mysql_fetch_assoc($rs_teams)){$templateTeams .= '<a href="team.php?t='.$row['team_id'].'">'.$row['t_name'].'</a><br />';
} //end while ?>
Any help will be greatly appreciated.