Site

Resources

Tutorials

Graphics

Webdesign

This part is what I coded. You don't have to change anything but what's in pink. However, you can edit the rest to fit your needs.

The first thing that come up in pink is the link to the php file we just created. If you called it contact.php, then you don't need to change that. If you called it something else, change contact.php to the name of your file.

The next thing you need to change is for the Send button. You need to plug the name of your own button and its size and height.

Save the file as an html or php file, it's up to you.


<form action="contact.php" method="post" style="margin:0px;">

<table style="width:100px; height: 296px;">

<tr><td>

<center>

<table width="40">

<tr>

<td width="10"><b>Name:</b></td>
<td width="30"><input type="text" name="name" size="25" style="border: 1pt solid #071424;"></td> </tr>

<tr>

<td width="10"><b>URL:</b></td>
<td width="30"><input type="text" name="url" size="25" style="border: 1pt solid #071424;"></td>

</tr>

<tr>
<td width="10"><b>E-mail:</b></td>
<td width="30"><input type="text" name="replyemail" size="25" style="border: 1pt solid #071424;"></td></tr>

<tr><td width="10"> <b>Subject:</b></td>
<td width="30"><input type="text" name="subject" size="25" style="border: 1pt solid #071424;"></td>
</tr>

<tr>

<td colspan="2"><br><b>Message:</b><br><center><textarea name="message" cols="40" rows="8" style="border: 1pt solid #071424;"></textarea></center></td>
</tr>

<tr>
<td colspan="2" style="text-align:center; width:100;">
<input type="image" name="submit" src="send.jpg" alt="Submit" style="width:70; height:35; border:0;">

</table>

</center>

</td>
</tr>

</table>

</form>




And you are all set. I hope you enjoyed this tutorial. Thank you again David (HTMLite) for the code for the php part of this tutorial and for letting me use it for this tutorial.


1 2
Not Ashamed Webband

My projects

Consider Giving

Links

Link Exchange

Stats