Hi guys, i have been reading other threads on this to try to figure out how to import text from a mysql database using a query, i have tried all of the methods listed here and found that personally I have come closest by using an include statement with the file containing the query needed to return the text however this is displayed above the FCK editor field, not within as the default text as specified, does anyone know how I can fix this?
Below is the code I am using at the minute
Many thanks, Tim
Below is the code I am using at the minute
<?php
$oFCKeditor = new FCKeditor('message') ;
$oFCKeditor->BasePath = '../../fckeditor/';
$oFCKeditor->Value = include("getmain.php") ;
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '500px' ;
$oFCKeditor->Create() ;
?>
Many thanks, Tim