在php中获取post中的textarea值

在php中获取post中的textarea值,php,html,Php,Html,我的HTML中有一个文本区域。如何将其发布到我的PHP <textarea> <div id="keditor-content-area-1496927072839" class="keditor-content-area ui-droppable ui-sortable"><section class="keditor-container keditor-initialized-container showed-keditor-toolbar" id="kedit

我的HTML中有一个文本区域。如何将其发布到我的PHP

<textarea>
<div id="keditor-content-area-1496927072839" class="keditor-content-area ui-droppable ui-sortable"><section class="keditor-container keditor-initialized-container showed-keditor-toolbar" id="keditor-container-1496927074545">   <section class="keditor-container-inner"><div class="row">        <div class="col-sm-12 keditor-container-content ui-droppable ui-sortable" data-type="container-content" id="keditor-container-content-1496927074546">        <section class="keditor-component keditor-initialized-component" data-type="component-text" id="keditor-component-1496927076874">   <section class="keditor-component-content cke_editable cke_editable_inline cke_contents_ltr cke_show_borders" id="keditor-component-content-1496927076875" contenteditable="true" tabindex="0" spellcheck="false" role="textbox" aria-label="false" aria-describedby="cke_46"><div class="page-header"><h1 style="margin-bottom: 30px; font-size: 50px;"><b class="text-uppercase">Cras justo odio</b> <small>Donec id elit non mi</small></h1><p class="lead"><em>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</em></p></div></section><div class="keditor-toolbar keditor-toolbar-component">   <a href="#" class="btn-component-reposition"><i class="fa fa-arrows"></i></a>   <a href="#" class="btn-component-duplicate"><i class="fa fa-files-o"></i></a>   <a href="#" class="btn-component-delete"><i class="fa fa-times"></i></a></div></section></div>    </div></section><div class="keditor-toolbar keditor-toolbar-container">   <a href="#" class="btn-container-reposition"><i class="fa fa-sort"></i></a>   <a href="#" class="btn-container-duplicate"><i class="fa fa-files-o"></i></a>   <a href="#" class="btn-container-delete"><i class="fa fa-times"></i></a></div></section></div>
</textarea>

非mi非mi精英的Cras justo odio Donec id

Cras justo odio,位于Egesta eget quam的ac设施。Donec在eget metus为非mi porta孕妇确定了最佳身份。无主id或id nibh ultricies车辆ut id elit.

但这总是需要时间 我是奥迪奥先生,我是艾格斯塔·艾格特·奎姆先生。Donec在eget metus为非mi porta孕妇确定了最佳身份。我不知道是谁干的,我不知道是谁干的。
在post中,我需要所有div标记和所有html代码。请帮帮我。

你需要这样的东西:

if(isset($_POST['textarea_value'])){
    echo $_POST['textarea_value'];
}

<form method="post" action="">
    <textarea name="textarea_value"></textarea>
    <input type="submit" value="Send" />
</form>
if(isset($\u POST['textarea\u value'])){
echo$_POST['textarea_value'];
}

我有一个非miCras justo odio Donec id Elite非miCras justo odio,有一个ac设施,有一个Egesta eget quam。Donec在eget metus为非mi porta孕妇确定了最佳身份。我不知道是谁干的,我不知道是谁干的。但我总是得到一个非常优秀的非米克拉斯·贾斯托·奥迪奥(miCras justo odio Donec),一个非常好的设备,一个非常好的设备。Donec在eget metus为非mi porta孕妇确定了最佳身份。我不知道是谁干的,我不知道是谁干的。我正在制作一个带有拖放功能的电子邮件模板,我想把它保存在数据库中,但它只需要文本,不需要整个html标签。在ckediter中,电子邮件是在div中生成的,所以我必须在提交之前将div html放在textarea中。我不知道这有什么问题。你问我如何将
textarea
的值获取到
$\u POST
,所以我回答了这个问题。任何其他问题都应包括在问题中尝试仅使用此项,删除其他代码。这应该行得通。如果你想要一个根据你的需要修改的代码,你应该根据你真正的需要编辑你的问题。事实上,我的回答应该足以解决这个问题