sto provando ckeditor e ho qualche problema:
Codice PHP:
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Insert</title>
        <meta content="text/html; charset=utf-8" http-equiv="content-type" />
        <script type="text/javascript" src="../ckeditor.js"></script>
        <script src="sample.js" type="text/javascript"></script>
        <link href="sample.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <?php
        
if (isset($_POST['inserisci'])) {
            include 
'../../config.php';
            
$link mysql_connect($host$user$password) or die("Non è possibile connettersi al server
"
);
            
$conn mysql_select_db($db$link) or die("Non è possibile connettersi al db
"
);
            
$title $_POST['title'];
            
$sectionid $_POST['sectionid'];
            
$fulltext $_POST['fulltext'];
            
$insert "INSERT INTO articoli2 (title,sectionid,fulltext) VALUES (\"" $title "\", \"" $sectionid "\",\"" $fulltext "\")";
            if (
$_POST['title'] == NULL || $_POST['sectionid'] == NULL || $_POST['fulltext'] == NULL) {
                echo 
"dati mancanti";
            } else {
                
mysql_query($insert) or die(mysql_error($link));
            }
        }
        
?>
        <h1>
        CKEditor Sample
        </h1>
        <div id="alerts">
            <noscript>
                


                    [b]CKEditor requires JavaScript to run[/b]. In a browser with no JavaScript
                support, like yours, you should still see the contents (HTML data) and you should
                be able to edit it normally, without a rich editor interface.
                </p>
            </noscript>
        </div>
        <form action="#" method="post">
            


                Title: <input type="text" name="title" />

            </p>
            


                Sectionid: <input type="text" name="sectionid" />

            </p
            


                <textarea class="ckeditor" cols="80" id="editor1" name="fulltext" rows="10"></textarea>
            </p>
            


                <input type="submit" name="inserisci" value="Submit" />
            </p>
        </form>
    </body>
</html>
premettendo che le voci del db sonon giuste, questo è l'errore che mi da:
codice:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext) VALUES ("prova", "13","

prova
")' at line 1
il funzionamento dell'editor è uguale a quello di un normale form o ho sbagliato qualcosa?