User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 427,029 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,478 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1437 | Replies: 1
Reply
Join Date: Dec 2004
Location: India
Posts: 234
Reputation: cancer10 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
cancer10's Avatar
cancer10 cancer10 is offline Offline
Posting Whiz in Training

Help WYSIWYG-Editor

  #1  
Jun 29th, 2006
OK I attached an WYSIWYG-Editor, however I am unable to get the data on the rich text box to another page using PHP, can anyone solve it plz?


Thanx a ton in advance
Attached Files
File Type: zip WYSIWYG-Editor.zip (40.0 KB, 33 views)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2006
Location: Australia
Posts: 16
Reputation: sunflowerz is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
sunflowerz's Avatar
sunflowerz sunflowerz is offline Offline
Newbie Poster

Re: WYSIWYG-Editor

  #2  
Jan 15th, 2007
Hi cancer10,

I'd say that it is in the POST variable editor1...

<script type="text/javascript">
var editor1 = new WYSIWYG_Editor('editor1');
editor1.display();
</script>

You would (on the page that the form POSTS to) have something like:
<?php
$newContent = $_POST['editor1'];
?>

Your text would then be in the $newContent variable.

Hope this helps.

- sunflowerz
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 2:56 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC