Employee Example
Employee Example
using different form input element and display user inserted values in new PHP form.
<html>
<head><title>Example</title></head>
<body>
<label>Employee name</label>
<label>Address</label>
<label>Mobile no</label>
<label>Date of Birth</label>
<label>POST</label>
<label>Salary</label>
</form>
</body>
</html>
<?php
$emp_name=$_GET[‘t1’];
$address=$_GET[‘ta’];
$mobno=$_GET[‘t2’];
$dob=$_GET[‘t3’];
$post=$_GET[‘t4’];
$sal=$_GET[‘t5’];
?>