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