i want to fetch a field from database eg. "name" and then use it as a link to display further info about that name from the database itself i used -
while($re=mysql_fetch_array($result))
{
echo"<a href=\"test.php?id=1\">{$re["name"]}'</a>'";
}
but i want that each 'name' entry when fetched from database be assigned different id like- adam id=1 chris id=2 so that in the next page i can GET that id and display contents accordingly. please help.