<?php 
	 include_once('../../../config/conn/db-connection.php');
	 if(isset($_POST['beneficiaries_id'])){ 	
	    $id = trim($_POST['beneficiaries_id']);
		$stmt = $db->query("SELECT * FROM `tbl_beneficiaries` WHERE beneficiaries_id = '$id'");	 
	    $row = $stmt->fetch(PDO::FETCH_ASSOC);
		echo json_encode($row);
    }
?>