<form method="post" action="received_email.php">



<table><tr><td>
Sender Name  </td><td> <input type="text" name="sendersname" value="<?php echo $rec_sendername ; ?>" /></td></tr>
<tr><td>Sender email</td><td> <input type="text" name="sendersemail" value="<?php echo $rec_senderemail; ?>" /></td></tr>
<tr><td>
Receiver Email</td><td> <input type="text" name="receiveremail" value="<?php echo $rec_receiveremail ?>" /></td></tr>
<tr><td>Subject  </td><td><input type="text" name="subject" value="<?php echo $rec_subject; ?>" /></td></tr>
<tr><td>
Message </td><td><textarea name="message" row="10" cols="50" />
<?php echo $rec_message; ?>
</textarea>
</td></tr>
<tr><td></td><td><input type="submit" name="submit" value="Send an email!" />

</table>
</form>
