Kashipara.com is a community of ONE million programmers and students, Just like you, Helping each other.Join them. It only takes a minute: Sign Up
Job Resume TemplateIn this page list of issues on Online Leave Management System. This source code share by Prathap puppala. If any errors in this project then you can ask question to developer or send a private messages. This project have a total 3 issues.
Online Leave Management System in PHP
below is my code <?php error_reporting(0); include('includes/start.php'); include('includes/header.html'); require_once('../dbcon.php'); $query = "SELECT leaves.leaveid, employee.eid, leaves.fdate, leaves.eid, fname, lname, leavetype, DATE_FORMAT(edate, '%M %d, %Y') AS dts, DATE_FORMAT(endate, '%M %d, %Y') AS dte, DATEDIFF(endate, edate) AS dtot, reason, recommending FROM leaves, employee WHERE leaves.eid = employee.eid and leaves.deanstatus= 'pending' and employee.eid='$_GET[id]'"; $result = mysqli_query($con, $query); if($result){ while($row = mysqli_fetch_array($result)){ $d = $row['fdate']; list($yr, $mon, $day) = explode("-",$d); require_once('month.php'); $fdate = $mon." ".$day.", ".$yr ; echo "<br>"; echo "<center><b>NZOIA SUGAR COMPANY LIMITED<br>"; echo "LEAVE FORM</b></center>"; echo '<table align="center" height="248"> <br> <center>   <b>Date:</b> '.$fdate.'</center>   <b>To the College Director<br>   I have the honor to request for:</b></center> <tr> <td><b>Employee ID:</b></td><td>'.$row['eid'].'</td></tr> <tr> <td><b>Employee Name:</b></td> <td>'.$row['fname'].' '.$row['lname'].'</td></tr> <tr> <td><b>Leave Type:</b></td> <td>'.$row['leavetype'].'</td></tr> <tr> <td><b>Effective:</b></td> <td>'.$row['dts'].' <b>TO</b> '.$row['dte'].'</td></tr> <tr> <td><b>Total Days:</b></td> <td>'.$row['dtot'].'</td></tr> <tr> <td><b>Reason:</b></td> <td>'.$row['reason'].'</td></tr> <tr> <td> </td> <td align="left"><br><a href="approve.php?id='.$row['leaveid'].'"><img src="../images/approval.jpg" width="95" height="20"/></a> <a href="deny.php?id='.$row['leaveid'].'"><img src="../images/disapproval.jpg" width="95" height="20"/></a></td></tr> </tr>'; } echo '</table>'; mysqli_free_result($result); } mysqli_close($con); include('../includes/footer.html'); ?>
oliey1234 2017-03-13 01:22:44
Online Leave Management System in PHP
Hello sir, <br> I just download the project ,and extract d project but don't know how to run it pls help me sir i need it...................................................................<br><br>
rajesh66 2016-02-08 13:26:14
Online Leave Management System in PHP
i can not understand the flow of the project can please explain how it runs in xamp thank you
jugal desai 2014-11-01 04:37:57