用户注册页reg.php
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册</title>
</head>
<body>
<div class="content" align="center">
<!--头部-->
<div class="header">
<h1>注册页面</h1>
</div>
<!--中部-->
<div class="middle">
<form action="registeraction.php" method="post">
<table border="0">
<tr>
<td>用户名:</td>
<td><input type="text" id="id_name" name="username" required></td>
</tr>
<tr>