A link in history.php is <a href='view.php?rp_id=$rp_id'>View?</a>
Why are all the fields empty when I thought $rp_id has been carried from the previuos page to view.php?(The correct id number is displayed in the browser address bar)
Code from view.php:
$sql_select2 = "select * from perscriptions where rp_id ='$rp_id'";
$result2 = mysql_query ($sql_select);
$row2 = mysql_fetch_array($result2);
$gp_no = $row2["gp_no"];
$des_1 = $row2["des_1"];
$des_2 = $row2["des_2"];
$des_3 = $row2["des_3"]; etc.....