返回首页

<body>

<center>

<h1>EMPLOYEE FORM</h1>

<table>

 



				        <form name="addemp" method="get" action=" ">

<tr><td>First name        </td><td>		<input type="text" name="first_name"></td></tr>

<tr><td>Last  name	     </td><td>     <input type="text" name="last_name"></td></tr>

<tr><td>Employee code     </td><td>    <input type="text" name="emp_code"></td></tr>

<tr><td>Salary   		  </td><td>     <input type="text" name="salary"></td></tr>

<tr><td>Age			      </td><td>     <input type="text" name="age"></td></tr>

<tr><td>Date of joining   </td><td>     <input type="text" name="date_of_joining"><table><tbody><tr><table><tbody><tr><table><tbody><tr><table><tbody><tr><td></td></tr></tbody></table></tr></tbody></table></tr></tbody></table></tr></tbody></table></td></tr>

<tr><td>Date of birth	  </td><td>     <input type="text" name="date_of_birth"><table><tbody><tr><table><tbody><tr><table><tbody><tr><table><tbody><tr><td></td></tr></tbody></table></tr></tbody></table></tr></tbody></table></tr></tbody></table></td></tr>

<tr><td>Department id     </td><td>     <input type="text" name="dept_id"><table><tbody><tr><table><tbody><tr><table><tbody><tr><table><tbody><tr><td></td></tr></tbody></table></tr></tbody></table></tr></tbody></table></tr></tbody></table></td></tr>

<tr><td>Manager id	      </td><td>     <input type="text" name="manager_id"><table><tbody><tr><table><tbody><tr><table><tbody><tr><table><tbody><tr><td></td></tr></tbody></table></tr></tbody></table></tr></tbody></table></tr></tbody></table></td></tr>

 				        <tr><td><label for="file">Attach ur bioa data:</label></td></tr>

                       <tr><td> <input type="file" name="file" id="file" /></td></tr>

                        <tr><td><input type="submit" name="add" value="ADD"/></td></tr>

				        </form>

 

</table></center>

</body>
| kesavahariprasad:arya1685 | |喜kesavahariprasad,

EMP名称和所需的表字段,首先创建你的MySQL数据库和创建配置细节1 config.php文件,并保存在同一目录......和使用下面的代码插入您的记录。
{C}

回答