hi
i need to link my select to another page (form)
i write :
<?
session_start();
if(!session_is_registered(myusername)){
header("location:main_login.php");
}
?>
<html>
<link href="style.css" rel="stylesheet" type="text/css">
<body>
Login Successful
<?php
$con = mysql_connect("localhost","root","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("project", $con);
$result = mysql_query("SELECT * FROM patient");
echo "<table class='table' >
<tr>
<th class='th'>patient id </th>
<th class='th'>date of birth</th>
<th class='th'>family name</th>
<th class='th'>dather name </th>
<th class='th'>given name</th>
<th class='th'>sex </th>
<th class='th'>status </th>
</tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td class='td' >" . $row . "</td> ";
echo "<td class='td' >" . $row . "</td>";
echo "<td class='td' >" . $row . "</td>";
echo "<td class='td' >" . $row . "</td>";
echo "<td class='td' >" . $row . "</td>";
echo "<td class='td' >" . $row . "</td>";
echo "<td class='td' >" . $row . "</td>";
echo "</tr>";
}
echo "</table>";
mysql_close($con);
?>
</body>
</html>
so i want to link page with form by patient id
how to make it