Ok the information is not being passed from when the submit button is pressed. It is coming up with empty data.
I have made the form self posting to hopefully retain the data using this code:
<form action="<? echo $PHP_SELF; ?>" method="post" enctype="application/x-www-form-urlencoded" name="PrintDeed" id="PrintDeed">
<div align="center"><input name="PrintDeed" type="submit" class="input" style="background-color: #edecfe" value="Print a Deed for this Transaction" />
<?php if($PrintDeed == 'submit') include 'deed_nu.php' ?>
</div></form>
This code takes me back to the data entry page and not to the deed page. Maybe I have it on the wrong page. I know that this should be able to be done but I admit I am clueless at this point.
Edit:
What if I did something like this?
<form action="<? echo $PHP_SELF; ?>" method="post" enctype="application/x-www-form-urlencoded" name="PrintDeed" id="PrintDeed"><div align="center">
<?php
if($PrintDeed) include 'deed_nu.php';
$AmountInDollars = $_GET['AmountInDollars'];
$theDate = $_GET['InitDate'];
$notaryID = $_GET['theNotaryID'];
$expireDate = $_GET['ExpireDate'];
$BookNo = $_GET['BookNo'];
$PageNo = $_GET['$PageNo'];
?>
<input name="PrintDeed" type="submit" class="input" style="background-color: #edecfe" value="Print a Deed for this Transaction" /> </div></form>
or maybe I should pass the values as hidden fields?