PHP设计模式之简单投诉页面实例
(编辑:jimmy 日期: 2025/11/11 浏览:3 次 )
本文实例介绍了PHP简单投诉页面的实现代码,分享给大家供大家参考,具体内容如下
php代码:
<"0.html");
html代码:
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>PHP设计模式</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
div{border:solid gray 1px;margin-top:10px;height: 100px;width: 200px;}
</style>
</head>
<body>
<form action="0.php" method="post">
<h1>用户名</h1>
<select id="username" name="username">
<option value="Tom">Tom</option>
<option value="Lily">Lily</option>
</select>
<h1>投诉方式</h1>
<select id="type" name="typeM">
<option value="Normal">Normal</option>
<option value="Danger">Danger</option>
</select>
<select id="type" name="typeN">
<option value="Email">Email</option>
<option value="Sms">Sms</option>
</select>
<h1>处理级别</h1>
<select id="level" name="level">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<h1>投诉内容</h1>
<textarea id="content" name="content" rows="3"></textarea>
<button type="submit">提交</button>
</form>
</body>
</html>
以上就是本文的全部内容,希望对大家的学习有所帮助。
下一篇:在Mac OS上编译安装Nginx+PHP+MariaDB开发环境的教程