Sorry for my english.
I have need to modify the text that I insert in the database through FCK Editor...
The value in db is $text...
How I make to modify the code from this?
:::start code:::
::: end code:::
Thanks!
I have need to modify the text that I insert in the database through FCK Editor...
The value in db is $text...
How I make to modify the code from this?
:::start code:::
<?php include("fckeditor.php") ; $oFCKeditor->Value = $_SESSION['testo']; $oFCKeditor = new FCKeditor('testo') ; $oFCKeditor->BasePath = '/FCKeditor/'; $oFCKeditor->Value = 'Inserisci la tua notiza'; $oFCKeditor->Create() ; ?>
::: end code:::
Thanks!

RE: Value from database
RE: Value from database
In the example you posted, you set Value twice: first to a variable, then to a fixed string, so only the fixed string assignment was effective. Remove the last Value assignment and you'll see the results you are hoping for.
RE: Value from database
This is the code:
RE: Value from database
$oFCKeditor->BasePath = '/FCKeditor/';
$oFCKeditor->Value = $_SESSION['testo'];
$oFCKeditor->Create() ;