You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
629 B
PHTML

2 years ago
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script src="../ueditor.parse.js" type="text/javascript"></script>
<script>
uParse('.content',{
'highlightJsUrl':'../third-party/SyntaxHighlighter/shCore.js',
'highlightCssUrl':'../third-party/SyntaxHighlighter/shCoreDefault.css'
})
</script>
<?php
//获取数据
error_reporting(E_ERROR|E_WARNING);
$content = htmlspecialchars(stripslashes($_POST['myEditor']));
//存入数据库或者其他操作
//显示
echo "第1个编辑器的值";
echo "<div class='content'>".htmlspecialchars_decode($content)."</div>";