why not show page, code is:
<? require("../conn.php"); require("access.php"); include('FCKeditor/fckeditor.php') ; if(isset($_POST[naslov])) { $naslovna = $_POST[naslovna]; $q1 = "update bsoft_settings set naslovna = '$_POST[naslovna]'"; mysql_query($q1) or die(mysql_error()); } require("AdminNavigation.php"); $qset = "select * from bsoft_settings"; $rset = mysql_query($qset) or die(mysql_error()); $a1 = mysql_fetch_array($rset); $naslovna = $a1[naslovna]; /*$naslovna= str_replace("'", "\'", $naslovna);*/ ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex, nofollow">
<link href="css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Edit Oppertunity</h1>
<div id="formArea">
<form action= "welcome.php" method="post">
<?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/' ; // '/FCKeditor/' is the default value.
$sBasePath = $_SERVER['PHP_SELF'];
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
$oFCKeditor = new FCKeditor('naslov') ;
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Value = $naslovna ;
$oFCKeditor->Create() ;
?>
<br>
<input type="hidden" name="naslov" value="<?php echo $naslovna; ?>">
<input type="submit" value="Submit">
</form>
</div>
</body>
</html>