Witam
zainstalowalem ostantio fckeditor na stronie, chcial bym go ustawic zeby czytal mi i mogl updatowac baze danych
to jest kod ktorego uzywalem z textarea do update i edit
<?
# processed when form is submitted back onto itself
if ($REQUEST_METHOD=="POST") {
# setup SQL statement
$SQL = "UPDATE offer SET ";
$SQL = $SQL . "body = '$body' ";
$SQL = $SQL . "WHERE id = $id";
# execute SQL statement
# check for errors
echo ("<P><B> Link Updated</B></P>n");
}
else { # display edit form (not post method)
# setup SQL statement to retrieve link
# that we want to edit
$SQL = " SELECT * FROM offer ";
$SQL = $SQL . " WHERE id = $id ";
# execute SQL statement
# retrieve values
$body = $row["body"];
?>
<?php }
?>
Jednak tutaj musialem wiadomo wszystko html wpisywac
teraz chce sobie isc na reke coprawda troche ciezsza droga ale wieze ze potem bedzie z gorki

tu natomiast jest kod pliku ktory odpowiada za fckeditor
<?php
include("../fckeditor.php") ;
include("../../conf.inc.php");
include("edit_homepage.php");
?>
<html>
<head>
</head>
<body>
<form action="edit_homepage.php" method="post" target="_blank">
<?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, "php" ) ) ; $oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '/fckeditor/' ;
if ( isset($_GET['Toolbar']) )
$oFCKeditor->Value= #tu niby jest wartosc wyswietlana probowalem wpisac $wartosc ; ale to jednak nie
dzialalo
$oFCKeditor->Create() ;
?>
<br>
<input type="submit" value="Submit">
</form>
</body>
</html>
edytor dziala spoko jednak nie moge do niego zaladowac wartosci z bazy danych, wynika to widocznie z mojej malej wiedzy jeszcze ale licze ze ktos mi jej doda

strona sie laczy z baza ( nie dostaje zadnych bledow, ) - jak bede mial juz jak to wyswietlic to wydaje mi sie ze z updatem sobie spokojnie dam rade -
Pozdrawiam