[英]Can I submit a form with a ckEditor textarea using php?
I have a form with a text field for a title and a textarea, courtesy of ckEditor, for the message. 我有一个带有文本字段的标题和文本区域的表格,由ckEditor提供,用于消息。 Only the title is posted. 仅标题被发布。 What do I need to do to post the textarea value? 我需要怎么做才能发布textarea值?
Check that your closing form tag is after the textarea. 检查您的结束表单标签是否在文本区域之后。
Double check your textarea name attribute . 仔细检查您的textarea名称属性 。
In case you are still in doubt, in the page mentioned in your form action attribute, paste the following code: 如果您仍然不确定,请在表单动作属性中提到的页面中粘贴以下代码:
<pre>
POST DATA:
<?php print_r($_POST); ?>
GET DATA:
<?php print_r($_GET); ?>
</pre>
You should see your textarea data. 您应该看到您的文本区域数据。
If not, please send your code for a more accurate answer... 如果没有,请发送您的代码以获得更准确的答案...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.