Link14716
07-09-2003, 01:29 AM
Well, I am working on a shoutbox, but whenever the WYSIWYG editor is used to make a shout, the message comes up blank. I'd think that this code would be enough to make it work: if (isset($_POST['WYSIWYG_HTML'])) {
require_once('./includes/functions_wysiwyg.php');
$newpost['message'] = convert_wysiwyg_html_to_bbcode($_POST['WYSIWYG_HTML']);
} else {
$newpost['message'] = $_POST['message'];
}But that still doesn't work. Any ideas?
require_once('./includes/functions_wysiwyg.php');
$newpost['message'] = convert_wysiwyg_html_to_bbcode($_POST['WYSIWYG_HTML']);
} else {
$newpost['message'] = $_POST['message'];
}But that still doesn't work. Any ideas?