PDA

View Full Version : WYSIWYG textarea value??


bobjackson
10-13-2004, 09:11 PM
hello all,

i'm trying to retreive the value of the textarea but with no luck.

if i use $_POST['WYSIWYG_HTML'] it returns empty/null.
BUT...when checking isset() it comes back true just no value. :(

can anyone shed some light for me?

i can get the value ($message) just fine using the standard editor.

also, in my template, i'm using the $messagearea to build the textarea.

here's some of my code:


require_once('./includes/functions_newpost.php');

if (isset($_POST['WYSIWYG_HTML']))
{
require_once('./includes/functions_wysiwyg.php');
$message = convert_wysiwyg_html_to_bbcode($WYSIWYG_HTML, 0);
}
else
{
$message = &$_POST['message'];
}


TIA.

bj