Hi,
I have added a text area to a form with an advanced editor using the code below. I want to save the content of the text area to my db using a DBSave. It worked when I had a text area on the designer tab. But with the custom text area from below, DB save doesn't save the content in the database. The field of the corresponding table in the database is called RoadMap. What am I doing wrong?
Thanks!
I have added a text area to a form with an advanced editor using the code below. I want to save the content of the text area to my db using a DBSave. It worked when I had a text area on the designer tab. But with the custom text area from below, DB save doesn't save the content in the database. The field of the corresponding table in the database is called RoadMap. What am I doing wrong?
Thanks!
<?php
$editor =JFactory::getEditor();
$params = array( "smilies"=> "0" ,
"style" => "1" ,
"layer" => "0" ,
"table" => "0" ,
"clear_entities"=>"0"
);
echo $editor->display( "RoadMap", $form->data['RoadMap'], "400", "400", "20", "20", false);
?>