Si perchè in quel caso stai intercalando del codice php in codice htmlOriginariamente inviato da eurospeed
[...]
Negli altri campi utilizzo value="<?php ecc ecc ?>"
[...]
es.
Nel caso della creazione di fckeditor invece sei già all'interno di un blocco php, quindi ti basteerà:codice:<input name="titolo" type="text" size="80" value="<?php echo $row_contenuti['titolo_new'];?>" />
codice:<?php // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // $oFCKeditor->BasePath = '/fckeditor/ar/' ; // '/fckeditor/ar/' is the default value. $sBasePath = $_SERVER['PHP_SELF'] ; $sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ; $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = $sBasePath ; $oFCKeditor->Value = $res['campo']; $oFCKeditor->Create() ; ?>![]()

Rispondi quotando