コード例 #1
0
ファイル: inDetailsViewer.php プロジェクト: rdnjm/ici
<?php

$result = detailsMain($_SESSION['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $name = $rows[1] . ", " . $rows[2] . " " . $rows[3];
    $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];
コード例 #2
0
ファイル: detailsViewer.php プロジェクト: rdnjm/ici
<?php

$result = detailsMain($_GET['empNum']);
while ($rows = mysqli_fetch_array($result)) {
    $name = $rows[1] . ", " . $rows[2] . " " . $rows[3];
    $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];