<?php
$GetPayInfo = mysql_query("SELECT * FROM `step4_cash` WHERE `sid` = '$_GET[sid]'");
$GetPayInfo1 = mysql_fetch_assoc($GetPayInfo);

$GetStInfo = mysql_query("SELECT * FROM `step1_perosonal` WHERE `sid` = '$_GET[sid]'");
$GetStInfo1 = mysql_fetch_assoc($GetStInfo);

?>

<table cellpadding="0" cellspacing="0" width="70%">
<tr height="40"><td width="40%">SID</td><td><?php echo $_GET['sid']; ?></td></tr>
<tr height="40"><td width="40%">Student Name</td><td><?php echo $GetStInfo1['firstname'].'&nbsp;'.$GetStInfo1['middlename'].'&nbsp;'.$GetStInfo1['lastname'];?></td></tr>
<tr height="40"><td width="40%">Father's Name</td><td><?php echo $GetStInfo1['father_name']; ?></td></tr>
<tr height="40"><td width="40%">Cash Recept No</td><td><?php echo $GetPayInfo1['rcpt_no']; ?></td></tr>
<tr height="40"><td width="40%">Amount</td><td><?php echo $GetPayInfo1['amt']; ?></td></tr>
<tr height="40"><td width="40%"></td><td>
<form action="action-pages/finance/clear-form-action.php" method="post">
<input type="hidden" name="sid" value="<?php echo $_GET['sid']; ?>" />
<input type="hidden" name="dd_id" value="<?php echo $GetPayInfo1['id']; ?>" />
<button class="btn-primary btn" type="submit">Clear</button>	
</form>
</td></tr>


</table>