| Direktori : /var/www/vhosts/ccp.ac.th/smtp.ccp.ac.th/httpdocs/sp/admin/ |
| Current File : /var/www/vhosts/ccp.ac.th/smtp.ccp.ac.th/httpdocs/sp/admin/edit_salary.php |
<?php
include '../db/database.php';
$salaryID = $_POST['id'];
$sql = "SELECT * FROM salary_history
WHERE (`salaryID`='$salaryID') ";
$result = mysqli_query($link, $sql);
$row = mysqli_fetch_array($result);
echo json_encode($row);