i have this form
<form name="form" action="http://www.**********.com/mail.php" method="get">
<input type="text" name="q" />
<input type="submit" name="Submit" value="Search" />
</form>
All i wanna do is basically when the mail script is ran, the contents of the text box to be the contents of the email.
The varible is saved as 'q'
<?php
mail("vervehistory@hotmail.com", "My Subject", "Text");
?>