http://www.test.com
<?php
$gid=$_SESSION['gid'];
$sql="select test from testing where id=$id";
$result = mysql_query($sql);//send query to the db
$row = mysql_fetch_array($result);
$mission=$row[0];
//echo $mission;
?>
http://google.com
<?php
//echo "oFCKeditor.Value = '$mission' ;";
?>
<?php $gid=$_SESSION['gid']; $sql="select test from testing where id=$id"; echo "sql is: $sql<br>"; $result = mysql_query($sql);//send query to the db $row = mysql_fetch_array($result); $mission=$row[0]; echo "mission is: $mission<br>"; ?>
<?php $oFCKeditor = new FCKeditor ; $oFCKeditor->BasePath = '/editor/' ; // '/FCKeditor/' is the default value so this line could be deleted. //$oFCKeditor->Value = 'This is some <B>sample text</B>.' ; $oFCKeditor->Value = $mission ; $oFCKeditor->CreateFCKeditor( 'EditorDefault', '100%', 150 ) ; ?>

RE: FCK 1.6 - editor data from mysql
http://google.com
<?php echo "oFCKeditor.Value = '$mission' ;"; ?>RE: FCK 1.6 - editor data from mysql