hi
this query
select name, lcount, ecount, total from tstats WHERE total >= '14' AND type = '2'
when tested in mysql returns what i expect.
my php page script however, returns the first record only and repeats it which is practically useless.
can anyone tell me why, and offer a solution that reurns the correct results
tia if you can
//the code
$qry2="select name, lcount, ecount, total from tstats WHERE total >= '14' AND type = '2' ";
$rst2= mysql_query ($qry2);
$row = mysql_fetch_array ($rst2);
$num_results = mysql_num_rows($rst2);
for ($i=0; $i <$num_results; $i++) {start of loop
echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"375\">
<tr>
<td>
//lots more html and returned variables
</td>
</tr>
</table>";
}// end of loop