<form id="form1" name="form1" method="post" action=""><?php $sBasePath = $_SERVER['PHP_SELF'] ;$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "main/file1.php" ) )."fckeditor/";$oFCKeditor = new FCKeditor('FCKeditor1') ;$oFCKeditor->BasePath = $sBasePath ;if ( isset($_GET['Lang']) ){ $oFCKeditor->Config['AutoDetectLanguage'] = false ; $oFCKeditor->Config['DefaultLanguage'] = $_GET['Lang'] ;}else{ $oFCKeditor->Config['AutoDetectLanguage'] = true ; $oFCKeditor->Config['DefaultLanguage'] = 'en' ;}$oFCKeditor->Value =$detail ;$oFCKeditor->Create() ;?><input type="submit" name="Submit1" value=" Save " /></form>