WYSIWYG-Editor

Reply

Join Date: Dec 2004
Posts: 234
Reputation: cancer10 is an unknown quantity at this point 
Solved Threads: 0
cancer10's Avatar
cancer10 cancer10 is offline Offline
Posting Whiz in Training

WYSIWYG-Editor

 
0
  #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, 39 views)
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 16
Reputation: sunflowerz is an unknown quantity at this point 
Solved Threads: 0
sunflowerz's Avatar
sunflowerz sunflowerz is offline Offline
Newbie Poster

Re: WYSIWYG-Editor

 
0
  #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:
  1. <?php
  2. $newContent = $_POST['editor1'];
  3. ?>

Your text would then be in the $newContent variable.

Hope this helps.

- sunflowerz
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1849 | Replies: 1
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC