<textarea name="content" style="display:block">
</textarea>
</textarea>
解决方案 »
- 本人菜鸟刚接触php,安装安装了XAMPP后,出现了些问题,求大神帮帮忙
- apache .htaccess内301跳转 实现无www域名跳转到有www的域名
- 获取mysql查询返回数量,求助高手
- prototype操作ajax的高难度问题(在线等)
- 请问PHP的windows环境如何配置效率高?
- 请问像这样的函数在PHP中怎么用
- 如何判断输入的是整数???
- sybase中用php写程序怎样用limit查询语句??
- 用程序输出从星期日至星期六,每天变化的只是日期而星期不变
- Warning: require_once(conn.php): failed to open stream: No such file or director
- 同一账号一人登录后,另外的人不能用同一账号登录,如何实现?
- mysql里面如何设置TIME默认值为当前服务器时间?
$oFCKeditor = new FCKeditor('content') ;//实例化
$oFCKeditor->BasePath = 'fckeditor/';//这个路径一定要和上面那个引入路径一致,否则会报错:找不到fckeditor.html页面
//$oFCKeditor->Value = '' ;
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '350' ;
?>
<form method="post" action="upload.php" enctype="multipart/form-data">
<?php
$oFCKeditor->Create() ;
<?
</form>
-------------
echo $_POST['content'];//it will output the values$editor = new FCKeditor('content');
$smarty = new Smarty;
//______________________________________________________________
//editor config:$editor->BasePath = 'FCKeditor/';
$editor->Width = '50%';
$editor->Height = 500;
$editor->ToolbarSet = 'Default';
$editor->Value = "";
//_____________________________________________________________
$smarty->assign_by_ref("editor",$editor);
article.php(tpl):
---------------
<form name="articlePost" method="post" action="article.php">
<table><tr><td>{$editor->Create()}</td></table>
</form>
其中"FCKeditor"是实例fckeditor时的参数名