I used the following command to hyperlink
now the file details.php is something like:
After i do this, I am getting a blank when i try to display a field of the table "date_rec"
please help me out asap...
Code:
$result_id1 = mysql_query("SELECT * FROM query order by case_id"); for ($i=0; $row1=mysql_fetch_array($result_id1); $i++) { //case_no is a field in the table "query" echo "<TD><b><a href='http://localhost/test/details.php?case=$row1[case_no]'> $row1[case_no]</a></b> </TD>"; }
Code:
$case= $_REQUEST['case']; // after the connection and all $result_new = mysql_query("SELECT * FROM query WHERE case_no = '$case'") or die ("Error: ".mysql_error()); $row=mysql_fetch_array($result_new);
Code:
echo $row[date_rec];
please help me out asap...
Comment