hi,
i have 3 files - no doubt they could be put together...but anyway...
this is the basic contact form with an error report... called contact.php
<?php echo $error ?></span></p>
<form action="contact-confirm.php" method="post" id="contact">
<table width="90%" border="0" cellpadding="3" cellspacing="3" class="tableindent">
<tr>
<td><div align="right">Name:</div></td>
<td><input type="text" name="name" /></td>
</tr>
<tr>
<td><div align="right">Email:</div></td>
<td><input type="text" name="email" value="" /></td>
</tr>
<tr>
<td align="right" valign="top">Comments:</td>
<td><textarea name="subject" cols="40" rows="8" id="subject"></textarea></td>
</tr>
<tr>
<td><div align="right"></div></td>
<td><input type="submit" name="-submit" value=" Submit Message " /></td>
</tr>
</table>
</form>