טוב אז הכנתי קוד שמעדכן משהו במסד נתונים ומשום מה הוא כל הזמן מציג לי שגיאה
הינה הקוד:
PHP קוד:
<?php
include_once("fckeditor/fckeditor.php") ;
include "connect.php";
$id = intval($_GET['id']);
$query = mysql_query("SELECT * FROM settings WHERE id='$id' ");
while ($row = mysql_fetch_array($query))
{
$title=$row['title']
echo "<form action=save.php?id=$id method=post>" ;
echo "title: <input type=text id=title name=title value=$title>" ;
echo "logo: <input type=text id=logo name=logo value=$row['logo']>" ;
echo "<br>text at homepage:" ;
$oFCKeditor = new FCKeditor('$row['home']') ;
$oFCKeditor->BasePath = 'fckeditor/' ;
$oFCKeditor->Value = $home ;
$oFCKeditor->Create() ;
echo "<br>copyrights:" ;
$oFCKeditor = new FCKeditor('$row['copyright']') ;
$oFCKeditor->BasePath = 'fckeditor/' ;
$oFCKeditor->Value = $copyrights ;
$oFCKeditor->Create() ;
echo "<input type=submit value=send>";
echo "</form>";
?>
הינה השגיאה שהוא מציג:
Parse error: syntax error, unexpected T_ECHO in /home/possible/domains/possible.9gb.us/public_html/cms/settings.php on line 10