Simple Payroll System Code in Php

Simple Payroll System Code in Php

Welcome to this code of…… If you have any difficulty regarding this code, please like our page for discussions. Click here to like the page.https://www.facebook.com/Free-Code-Download-934630353410011/

Simple Payroll System Code in Php

 

FREE CODE DOWNLOAD
File name:emp.php
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>Untitled Document</title>
<style type=”text/css”>
<!–
body {
background-color: #009900;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.style3 {
font-size: 16px;
font-weight: bold;
}
.style4 {font-size: 14px}
.style5 {
font-size: 24px;
font-weight: bold;
}
.style6 {font-size: 14px; }
.style8 {font-size: 18px}
–>
</style></head><body>
<form method=”post”>
<h6 align=”center”>&nbsp;</h6>
<br />
<div align=”left”><span class=”style3″>Today i<span class=”style8″>s</span></span>
<span class=”style8″><?php
echo gmdate(“M d Y”);
?>
</span></div>
<p align=”center” class=”style5″>Simple Payroll System Version 1.0 </p>

<p align=”center” class=”style3″>Created By: Mr. Jake R. Pomperada, MAED-IT </p>
<p align=”center”><span class=”style4″>Enter Employees Name

</span>
<input name=”name” type=”text” />
<br>
<br>
</p>
<label></label>
<p align=”center”><span class=”style4″>Enter Employees Daily Rate</span>
<input name=”rate” type=”text” />
<br>
<br></p>
<label></label>
<div align=”center” class=”style6″>Enter Number of Days Work
<input name=”days” type=”text” value=”” />
</div>
<span class=”style4″>
<label></label>
</span>
<span class=”style6″>
<label></label>
</span>
<label>
</label>
<p align=”center”>

<input name=”Submit” type=”Submit” value=”Compute Salary” />
</p>
<div align=”center”>
<?php
$name=$_POST[‘name’];
$rate=$_POST[‘rate’];
$days = $_POST[‘days’];

$compute = $days * $rate;
echo “<p> <h2>Employee’s Name : $name. </h2></p>”;
echo “<p><h2> Your Salary : $compute. </h2> </p>”;

?>

</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp; </p>
</form>
</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *