PDA

View Full Version : Form



nelly
06-07-2006, 11:48 AM
I made this form on dreamweaver now i need it to send to [email protected] can any1 do it for me




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
}
-->
</style>
</head>
<body>
<p align="center" class="style1">Name:
<input type="text" name="textfield">
</p>
<p align="center" class="style1">Email Address:
<input type="text" name="textfield">
</p>
<p align="center" class="style1">Reason:
<select name="select">
<option>Support</option>
<option>Sales</option>
<option>Technical</option>
<option>Other</option>
</select>
</p>
<p align="center" class="style1">Message:</p>
<p align="center" class="style1"> <textarea name="textarea"></textarea>
</p>
<p align="center" class="style1">
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Reset" value="Reset">
</p>
</body>
</html>



Also a thankyou.php thing

tularis
06-07-2006, 01:28 PM
Right,

You'll need to add <form> at the start of the stuff you wanna send and <form action="send.php">
"send.php" being a php script that will grab and order the variables in the form and execute a command that will send (via email).

You can also have a .txt file in the directory of your site which the script can write to but that's a bit complicated for now :P

- Do a search or something on hotscripts.com?

Want to hide these adverts? Register an account for free!