or to keep proper html syntax you could do this:
<A href=\"mailto:c2c@capturedtocanvas.com\" target=_top>c2c@capturedtocanvas.com</A>
kkeith29
Nearly a Posting Virtuoso
1,357 posts since Jun 2007
Reputation Points: 235
Solved Threads: 194
I get this error:
PHP Parse error: parse error in D:\HostingSpaces\sachinbhatt\sachinbhatt.in\wwwroot\send_mail.php on line 73
The script is ..:
$Subject="New Inquiry";
$Message="Inquiry Details";
$Message.="Name: $FullName";
$Message.="Occupation: $Occupation";
$Message.="Address: $Address";
$Message.="City: $City";
$Message.="State: $State";
$Message.="Phone: $phone";
$Message.="Email: $Email";
$Message.="Comments: $Comments";
$Headers = "From: sbhatt.salil@sachinbhatt.in"."\r\n";
$Headers .= "MIME-Version: 1.0"."\r\n";
$Headers .= "Content-type: text/html; charset=iso-8859-1"."\r\n";
$Headers .= "Content-Transfer-Encoding: 7bit"."\r\n";
$r=mail("sbhatt.salil@sachinbhatt.in",$Subject,$Message,$Headers));
if(!empty($r)){
//header("Location:ty.html");
echo("&status=yes");
}
else{
echo("&status=no");
}
----------------------------------------
I am not very proficient in PHP and I have not written this script as well, but using by copy/paste from some online resource.
Can anyone please help me with this..?
Many thanks in advance...
First of all, get a good editor which error checking. If you do, you will see the error yourself.
Anyways, You have an extra) in your mail function.
Next time, please start a new thread while posting a question.
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356