getContent.php 571 B

12345678910111213141516
  1. <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  2. <?php
  3. //获取数据
  4. error_reporting(E_ERROR|E_WARNING);
  5. $content = htmlspecialchars(stripslashes($_POST['myEditor']));
  6. $content1 = htmlspecialchars(stripslashes($_POST['myEditor1']));
  7. //存入数据库或者其他操作
  8. //-------------
  9. //显示
  10. echo "第1个编辑器的值";
  11. echo htmlspecialchars_decode($content);
  12. echo "第2个编辑器的值";
  13. echo htmlspecialchars_decode($content1);
  14. echo "<input type='button' value='点击返回' onclick='window.history.go(-1)' /></script>";
  15. ?>