$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]; } $result = detailsPosition($posCode); while ($rows = mysqli_fetch_array($result)) { $position = $rows[0]; }
$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]; } $result = detailsPosition($posCode); while ($rows = mysqli_fetch_array($result)) { $position = $rows[0]; }