i have a problem with FCK on my PHP web page.
I have set all, or i think...
But when i submit, the text area value not passed.
Not only to my MySql DB but into php pahe response too.
This is the code of page form:
$oFCKeditor = new FCKeditor('txt') ; $oFCKeditor->ToolbarSet = "mypersonal"; $oFCKeditor->Height = 500; $oFCKeditor->BasePath = $sBasePath."fckeditor/" ; $oFCKeditor->Value = $nameVar; $oFCKeditor->Create() ;
This is the code of insertdb.php (page called from action post of the form):
$val = $HTTP_POST_VARS[$nameVar]; $sql = "INSERT INTO nameTable (testo) VALUES ('".$val."')"; $open = mysql_query($sql);
How can i pass the value of the text area (the content have to be HTML formatted) to my DB?
Or, if anyone can help me... to the POST/GET web page?