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 :)

Hi cancer10,

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

<script type="text/javascript">
var editor1 = new WYSIWYG_Editor('[B]editor1[/B]');
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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.