I've got a confused problem where I test load my script in localhost, the FCK Editor user interface modul is appear and can select normally the data on my database. But, when I transfered my php script file to my hosting server, I got the FCK Editor appear but the content is blank (like can't select the data on my database).
I've check my web database configuration, and this is ok and all other script is load normally except this FCK module editor problem that can't show the Value when select the data on my database.
This is a part example of my script to show the FCK Editor (Maintenance Page Menu) :
<?php
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
$oFCKeditor = new FCKeditor('txtisi') ;
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Height = '400' ;
$oFCKeditor->Value = $row_recpage[$bahasa];
$oFCKeditor->Create() ;
?>
Note : "$row_recpage[$bahasa]" = data on my web database, and I've debug test in SQL Query and its ok.
Please help some one WebMaster can fix this problem..?
Many Thanks..
Thu, 07/14/2011 - 06:10
#1