PhpRiot

Listing 1768

Followup to listing-1767.php, submitted by Thorbear.

Submitted by Aeiedil, 19 November 2008
$queryT = mysql_query('SELECT * FROM ftopic WHERE FID='.$_GET['f'].'');
$numberT = mysql_num_rows($queryT);
 
echo("<table><tr><td class='forum'>$ForumName</td></tr>");
 
while ($row = mysql_fetch_assoc($queryT) 
{
 $TopicName = $row['topic'];
 $TopicID = $row['ID'];
 echo("<tr><td class='forum'><a href='viewtopic.php?t=$TopicID'>$TopicName</a></td></tr>");
}
echo("</table>");
 
mysql_close($connect);
Submit a Follow Up