Hi I am a newbie to PHP. i am having serious problems trying to pass the id to the next page via a hyperlink. i am creating a real estate website and after searching for a property the code below is displayed. this code basically should list all the properties. the properties should be hyperlinked so when you click it, it displays the full detail. So far the code only displays the name. how would i hyperlink the data with id sent to the next page?
ANY HELP WOULD BE MUCH APRECIATED.
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?
$username="proper_asik112";
$password="ashik112";
$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.'\' And mobile=\''. $_POST.'\'');;
while($row=mysql_fetch_array($result))
{
echo $row . " " . $row . "<br />";
}
?>
</body>
</html>