Hey everyone,
i just made an order form but i want it to email me the information instead of adding it to a database,
the fields in my form are:
name1
email
website
serv
notes
and i want it to send me an email in the format of....
Name: $name1
Email: $email
Website: $website
Service: $serv
Script Description:
$notes
and here is the code i have...
<?
$name1 = $_REQUEST['name1'] ;
$email = $_REQUEST['email'] ;
$website = $_REQUEST['website'] ;
$serv = $_REQUEST['serv'] ;
$notes = $_REQUEST['notes'] ;
mail( "sales@icthost.com", "New Order For Scripting",
Name> $name
Email> $email
Website> $website
Service> $serv
Notes> $notes , "From: $email" );
header( "Location: [url]http://www.icthost.com/page.php?cmd=sent.htm[/url]" );
?>
so far it just keeps giving me the following error
Parse error: parse error in /home/icthost3/public_html/sendscript.php on line 8
Can Anyone Help Me Please ???
AS USUAL THE ONE WHO RIGHTS THE FULL CODE AND IT WORKS GETS FREE HOSTING AT WWW.ICTHOST.COM