I would do this
$numrows = mysql_num_rows($result);
//set counter variable
$i=1;
while($myrow = mysql_fetch_array($result))
{
echo"<TABLE BORDER='0' CELLPADDING='2' CELLSPACING='2'>";
echo"Rows: ".$numrows."; Counter: ".$i;
echo"<TR>";
echo"<TD> </TD><TD> </TD>";
echo"</TR>";
echo"<TR>";
echo"<TD VALIGN='TOP'>";
echo"<!-- IMAGE GOES HERE -->";
echo"<IMG SRC='./images/$myrow[img]' WIDTH='150'>";
echo"</TD>";
echo"<TD>";
echo"<!-- BIO INFO GOES HERE -->";
echo"<H5> $myrow[name], <SPAN class='blue'>$myrow[title] </SPAN></H5>";
echo"<P> $myrow[p1] </P>";
echo"<P> $myrow[p2] </P>";
echo"<P> $myrow[p3] </P>";
echo"</TD>";
echo"</TR>";
echo"</TABLE>";
//increment counter variable
$i++;
}
I think that should work. You need to fetch each row seperately, you only fetched the first row and then never fetched the next one.