ESH/select_employee_contractor_list.php

14 lines
320 B
PHP
Raw Permalink Normal View History

2024-10-23 18:28:06 +05:30
<?php
error_reporting(E_ERROR | E_PARSE);
include ('includes/config/config.php');
$sql="select * from employer_contractor ";
$data=array();
$results=@mysqli_query($conn,$sql);
while($row = @mysqli_fetch_array ( $results )){
$data[]=$row;
}
echo json_encode($data);
?>