Example #1
0
    $address = $rows[4];
    $bday = $rows[5];
    $conNum = $rows[6];
    $posCode = $rows[7];
    $rate = $rows[8];
    $nationality = $rows[9];
    $maritalStatus = $rows[10];
    $gender = ucfirst($rows[11]);
}
$bday = dateFormat($bday);
$result = detailsTIN($_SESSION['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $tin = $rows[1];
    $dependents = $rows[2];
}
$result = detailsEmployed($_SESSION['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $dateEmployed = $rows[1];
}
$result = detailsPagibig($_SESSION['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $pagibig = $rows[1];
}
$result = detailsPhilhealth($_SESSION['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $philhealth = $rows[1];
}
$result = detailsSSS($_SESSION['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $sss = $rows[1];
}
Example #2
0
    $address = $rows[4];
    $bday = $rows[5];
    $conNum = $rows[6];
    $posCode = $rows[7];
    $rate = $rows[8];
    $nationality = $rows[9];
    $maritalStatus = $rows[10];
    $gender = ucfirst($rows[11]);
}
$bday = dateFormat($bday);
$result = detailsTIN($_GET['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $tin = $rows[1];
    $dependents = $rows[2];
}
$result = detailsEmployed($_GET['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $dateEmployed = $rows[1];
}
$result = detailsPagibig($_GET['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $pagibig = $rows[1];
}
$result = detailsPhilhealth($_GET['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $philhealth = $rows[1];
}
$result = detailsSSS($_GET['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $sss = $rows[1];
}