Count is not working
I am using the code below I want a count beside each link but when I use it only 1 record link shows, why I do not use the count all links show why?
while ($row = mysql_fetch_array($result))
$result = mysql_query("SELECT * FROM answers WHERE qid ='qid'");
$num_rows = mysql_num_rows($result);
print "<a href=\"?tab=View Question&qid=$qid\">$question</a> - Votes: $num_rows<br>";
Daily Deals from Kingston to Brockville and Cornwall Ontario. www.seawaydeals.com