Problem which I am having is as follows:
I can save and retrieve information after its saved but I don't know how to do that automatically as soon as the record is saved/updated.
To update I use:
$result = mysql_query("UPDATE loan SET loana='$loann', dater='$dater', apaid='$apaid' WHERE id=$id");
Once save I can load the main page wit the results and click on a link which looks like this and it displays all of the info:
echo "<td><a href=\"full_loan_details.php?id=$res[id]\" target=\"_blank\" alt=\"Print loan details\" title=\"Print loan details\">".$res['name']." ".$res['surname']."</a></td>";
...but for I am not able to do this automatically when the record is saved. Any help is greatly appreciated.