/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] FCK editer

Hi friends

Right now i am using fck editer to create the html page . I need create new html page fckediter and insert the values database and edit the values.

Now i configer the fck editer php application But i unable to insert and update the values database .

Please give me any idea.

Thanks
vssp

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@william232Jul 18.2006 — sure thing for a start i recommend having 1 page to add and the other for edit

on my first page i have it in a inc file so its so easy 2 update

[CODE]
Now place the Fckeditor part that is being intergreated and change the line that says

$oFCKeditor=new FCKeditor('Samenameinfieldofdatabase');

and
$oFCKeditor->Value=Samenameinfieldofdatabase');

Change the names of Samenameinfieldofdatabase to the name of fields that watever the user types in goes into the database after that do

if($_POST['save']
Samenameinfieldofdatabase($_POST['Samenameinfieldofdatabase]);
if($pQuery="INSERT INTO Database the values and watelse is on that page and put '$Samenameinfieldofdatabase')";
[/CODE]


Then its pretty much straight forward from there till you get the edit part you just use the get function instead of Post if you need help post back here ?
Copy linkTweet thisAlerts:
@vsspauthorJul 18.2006 — Thanks william232

Vssp
Copy linkTweet thisAlerts:
@william232Jul 18.2006 — No Problem ?
×

Success!

Help @vssp spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...