<?
$ranknum = 1;
$current_row = 0;
while($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
$result_id = $row["id"];
$result_name = $row["username"];
$result_country = $row["country"];
echo "<tr><td><p>" . $ranknum . "</p></td><td><p>" . $result_name . "</p></td><td><p>" . $result_country . "</p></td>";
$current_row++;
$ranknum++;
}
echo "</table>";
mysql_close($conn);
?>
I'm trying to make it so every username that is placed gets a hyperlink to something like playstats.php?$username but whenever i try i get various errors. Any help??
thanks!