<?php $connection=@mysqli_connect('localhost','root','','ijcot'); if(isset($_POST['empno'])) { $empno=$_POST['empno'];//take employee number if($result = mysqli_query($connection,"SELECT * FROM emp_mas where e_no=$empno"))//show the result depending on the employee number { $query_row=mysqli_fetch_array($result); echo "<form method=POST>"; echo "<br>"."<br>".""."Date of OT:".""."<input type=date name=date>"; echo "<br>"."<br>"."<html>"."<input type=submit name=OK value=OK style=width:50 >"."</html>"; "</from>"; if(isset($_post['date'])) { $date=$_post['date']; echo $date; } }} ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)