<form action="index.php?content=admin&action=<?php echo $action; ?>&catid=<?php echo $_REQUEST['catid'];?>&belongsto=<?php echo $_REQUEST['belongsto'];?>&baseid=<?php echo $_REQUEST['baseid'];?>&prisort=<?php echo $_REQUEST['prisort'];?>" method="POST">
<td><input type="text" name="link_text" style="width:300;" value="<?php echo $HTTP_POST_VARS['link_text']; ?>"></td>
<td><input type="text" name="subject" style="width:300;" value="<?php echo $HTTP_POST_VARS['subject']; ?>"></td>
<?php
include 'spaw/spaw_control.class.php';
$sw = new SPAW_Wysiwyg('description' /*name*/,stripslashes($HTTP_POST_VARS['description']) /*value*/,
'en' /*language*/, 'full' /*toolbar mode*/, 'default' /*theme*/,
'600px' /*width*/, '600px' /*height*/);
$sw->show();
?>
oFCKeditor.Value = '<?php echo $HTTP_POST_VARS['subject']; ?>' ;
RE: store to mysql
oFCKeditor = new FCKeditor('EditorDefault') ;
You have to write:
oFCKeditor = new FCKeditor('subject') ;
RE: store to mysql
oFCKeditor.Value = '<?php echo $HTTP_POST_VARS['subject']; ?>' ;oFCKeditor.Value = '<?php echo $HTTP_POST_VARS['description']; ?>' ;RE: store to mysql