session_start(); define('INCLUDE_CHECK',true); require 'connect.php'; $get_detail = mysql_query("SELECT * FROM bl_property WHERE status='active' AND id='".$_REQUEST['id']."'"); $num_details = mysql_num_rows($get_detail); if($num_details) { $detail = mysql_fetch_assoc($get_detail); } ?>