开发喵星球

Backend get form value

假设编辑器 ID 为 test-editormd,以 PHP 为例:

<?php
    header("Content-Type:text/html; charset=utf-8");

    if (isset(_POST['submit'])) {
        echo "<pre>";
        echo htmlspecialchars(_POST["test-editormd-markdown-doc"]);
        echo "<br/><br/>";
        echo htmlspecialchars($_POST["test-editormd-html-code"]);
        echo "</pre>";
    }
?>
   
分类:金斗云 作者:开发喵 发表于:2024-04-01 13:27:01 阅读量:89
<<   >>


powered by kaifamiao