Code:
$TotalHrs = array(
'name' => 'AddTotalHrs['. $rowcount .']',
'value' => '',
$TotalHrs = array(
'name' => 'AddTotalHrs['. $rowcount .']',
'value' => '',
$optWeek = array(0=>'Please Select');
for($i=1;$i<=52;$i++)
{
$optWeek[$i] = 'Wk - ' . $i;
}
for($i=-1;$i<=0;$i++)
{
$optYear[date("Y")+$i] = date("Y")+$i;
}
$optDays = array(
'0'=>'Please Select',
'SUN' => 'Sunday',
'MON' => 'Monday',
'TUE' => 'Tuesday',
'WED' =>
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Attendance extends CI_Controller {
public function index()
{
if($this->input->post('cancel')){
$this->newform();
}
if(isset($getall))
{
$PostDate = array(
'name' => 'PostDate',
'value' => $getall['0']['PostDate'],
);
$LocCode = array(
'name' => 'LocCode',
'value' => $getall['0']['LocCode'],
);
$DeptCode = array(
'name' => 'DeptCode',
'value' => $getall['0']['DeptCode'],
<?php
require 'connect.php';
session_start();
$username = "";
$password = "";
if(isset($_POST['username'])){
$username = $_POST['username'];
}
if (isset($_POST['password'])) {
$password = $_POST['password'];
}
echo $username ." : ".$password;
<html>
<head>
<meta id="_moz_html_fragment">
</head>
<body style="background-image:url(ocean5.jpeg)">
<div style="text-align: center;"><br>
<br>
<br>
<br>
<big><big>LETTER HEAD
<html> <head> <meta id="_moz_html_fragment"> </head> <body style="background-image:url(ocean5.jpeg)"> <div style="text-align: center;"><br>
Leave a comment: