1、修改show_html.php,加入”添加员工“链接
<div><a href="./empAdd.php">添加员工</a></div>
2、编写员工信息添加页面(Add_html.php)
<?php if(!defined('APP')) die('error!'); ?><!--判断该文件是否通过show.php文件加载的。-->
<html>
<head>
<meta charset="utf-8">
<title>添加员工</title>
</head>
<body>
<h1>添加员工</h1>
<form action="./empAdd.php" method="post">
<table>
<tr><th>姓名</th><td><input type="text" name="e_name"/></td></tr>
<tr><th>性别</th><td><input type="text" name="e_gender"/></td></tr>
<tr><th>所属部门</th><td><input type="text" name="e_dept&#