HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-31-18-78 6.17.0-1017-aws #17~24.04.1-Ubuntu SMP Tue May 26 21:09:53 UTC 2026 aarch64
User: ubuntu (1000)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /var/www/nclive/technc/physical_eligibility_list_select.php
<?php
include 'config.php';

 header("Content-type:application/json");

   $id = $_REQUEST['id'];
   $query="SELECT el.id,el.exam_id,e.exam_name, el.gender, el.categories, el.height,el.chest,el.race,el.long_jump,el.high_jump,el.short_put,el.chances FROM sp_physical_eligibility as el left join sp_exam as e on e.exam_id=el.exam_id where el.id='$id'";
	$sql = $db->prepare($query);
    $sql->execute();
	$row = $sql->fetch();

echo json_encode($row , TRUE );
?>