hi i am trying to hyperlink the data that is being displayed from the database. When i try to do it it doesnt work. the code below is the code when after someone searches from the database it displays the details of that person. i was wondering how i would use hyperlink to click on their name and it displays the rest of their details.
Many thanks
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?
$username="***";
$password="***";
$database="proper_contacts";
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$result = mysql_query('SELECT * FROM contacts
WHERE first=\''. $POST['name'].'\' And mobile=\''. $POST['mobile'].'\'');;
while($row = mysql_fetch_array($result))
{
echo $row['first'] . " " . $row['last'] . "<br />";
}
?>
</body>
</html>