Home > Backend Development > PHP Tutorial > form表单内的内容用post上传后在php界面怎么接受自动转化为h1和p?

form表单内的内容用post上传后在php界面怎么接受自动转化为h1和p?

WBOY
Release: 2016-06-02 11:31:56
Original
1149 people have browsed it

phpform表单上传post自动

一个标题输入,一个textarea输入,在该页面点击提交在php界面要怎么接收?然后自动转化为h1和p,要保留textarea中的换行。这是我写的html提交页面的内容。

<code> <form name="form1" method="post" action="diary.php">     <div class="title">            <label for="edtTitle">标题</label>            <input type="text" name="Title" valve="" id="edtTitle" maxlength="100">     </div>        <label for="editor_content" class="editinputname">正文</label>        <textarea name="content" cols="45" row="5"><textarea>        <input type="submit" value="提交"></textarea></textarea>
</form></code>
Copy after login
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template