Think i posted this in a wrong section.. so i post it here too...
Hi i own a Flash website and in that one i have a contact form witch users can send me feed back in... but if i use the form i get this error message back from the server..
PHP Error Message
Parse error: syntax error, unexpected '"' in /home/a8325874/public_html/contact.php on line 10
Free Web Hosting
This is the php im using... I suspect its an error im my code but i cant seem to find it, and if im wrong how do i get it to work on this server?
PHP Code:
<?php
$your_name = $_GET['name'];
$your_email = $_GET['email'];
$your_message = $_GET['message'];
$recipient_email = "scripts4he@yahoo.com";
$subject = "from: " . $your_email";
$headers = "From: " . $yourname . " <" . $your_email . ">n;
$headers .= 'Content-type: text/html; charset=iso-8859-1';
$content = "<html><head><title>Contact letter</title></head><body><br>";
$content .= "Name: <b>" . $your_name . "</b><br>";
$content .= "E-mail: <b>" . $your_email . "</b><br><hr><br>";
$content .= $your_message;
$content .= "<br></body></html>";
mail($recipient_email,$subject,$content,$headers);
?>
<html>
<body bgcolor="#282E2C">
<div align="center" style="margin-top:60px;color:#FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold">
Your message was sent. Thank you.
</div>
</body>
</html>
<script>resizeTo(300, 300)</script>