עשיתי מערכת צור קשר, טמנתי אותה באתר שלי, אבל זה לא ניהיה, ניהיה לי הודעת שגיאה..
Parse error: syntax error, unexpected '@' in /home/amit2/domains/funny.rcq.me/public_html/site1/pord.php on line 58
מישהו יכול להגיד לי מה לא בסדר בקוד?
קוד: בחר הכל
[code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="he" lang="he">
<head>
<title>Club הזמנות לארועים.</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="author" content="[email protected]" />
<meta name="description" content="FTM" />
<link rel="stylesheet" href="touching.css" type="text/css" />
</head>
<body>
<!-- Generated at www.csscreator.com -->
<div id="container">
<div id="banner">
<div id='bannertitle'>Club !אין כמונו</div>
</div>
<div id="outer">
<div id="inner">
<div id="left">
<div class="verticalmenu">
<ul>
<li><a href="index.html">.דף הבית</a></li>
<li><a href="#">.הזמנות לבר מצווה</a></li>
<li><a href="#">.הזמנות לבת מצווה</a></li>
<li><a href="#">.לקוחות משובחים</a></li>
<li><a href="pord.php">.צור קשר</a></li>
</ul>
</div>
</div>
<center>
<div id="Center"><h2> .הזמנות לאירועים Club</h2>
</center>
<div dir="rtl">
<form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
<FONT face=Tahoma size=1>שם פרטי</FONT>: <input type="text" name="first" style="width: 233px;" /><br />
<FONT face=Tahoma size=1>שם משתמש באתר</FONT>: <input type="text" name="last" style="width: 212px;" /><br />
<FONT face=Tahoma size=1>דואר אלקטרוני</FONT> : <input type="text" name="email" style="width: 201px;" /><br />
<FONT face=Tahoma size=1>נושא</FONT>:
<select name="subject">
<option value="הצעה">הצעה</option>
<option value="תלונה">תלונה</option>
<option value="בעיה טכנית">בעיה טכנית</option>
<option value="פרסום">פרסום</option>
<option value="הורחקתי לא בצדק">הורחקתי לא בצדק</option>
<option value="אחר">אחר</option>
</select ><br />
<FONT face=Tahoma size=1><FONT color=red><STRONG>תוכן ההודעה</STRONG></FONT></FONT> :<br /><textarea rows="10" cols="50" name="text"></textarea><br />
<input type="submit" name="send" value="שלח" />
</form>
<?php
$first= $_POST['first'];
$last = $_POST['last'];
$email = $_POST['email'];
$text = $_POST['text'];
$mail(ronzaafrani@gmail.com);
";
$subject = $_POST['subject'];
if (isset($_POST["send"]) && $_POST["send"] == "שלח") {
if($first =='' || $last =='' || $email =='' || $text =='')
{
echo "<FONT face=Tahoma size=1><FONT color=red><STRONG>נא למלא את כל השדות</STRONG></FONT></FONT><br />";
} else {
$contact = "שם פרטי : ".$_POST["first"]."
שם משתמש באתר : ".$_POST["last"]."
דואר אלקטרוני : ".$_POST["email"]."
נושא : ".$_POST["subject"]."
תוכן ההודעה : ".$_POST["text"]."";
echo "<b><u>שלחת בהצלחה את ההודעה הבאה :</u></b><br />";
echo "<u>שם פרטי :</u> ".$_POST["first"]."<br />";
echo "<u>שם משפחה :</u> ".$_POST["last"]."<br />";
echo "<u>דואר אלקטרוני :</u> ".$_POST["email"]."<br />";
echo "<u>נושא :</u> ".$_POST["subject"]."<br />";
echo "<u>תוכן ההודעה :</u><br />".$_POST["text"]."<br />";
}
}
?>
</div>
</body>
</html>
</P>
<br>
<br>
<COPYRIGHT>
<P align=left><FONT face=Tahoma size=1>PoweRed By r0n</FONT></P>
</COPYRIGHT>
<center>
</br>
</br>
<div class="credit">
<input id="send" type="submit" name="send" value="כל הזכויות שמורות לאתר" style="color:white;background-color:black;padding:5px 15px 5px 15px;font-family:tahoma;font-size:11px;border:1px solid #aaaaaa;border-radius:5px;margin-bottom:10px;">
</centre>
</div>
</html>[/code]
תודה על העזרה מראש,
רון.