Properties Details
Property ID:
Bedrooms:
Price: £
Bedrooms:
Price: £
include("inc/includes.php"); if (intval($_GET['id'] == 0)){ header("Location: " . $_SERVER['HTTP_REFERER']); exit(); } $query = mysql_query("SELECT * FROM `__seemore__` WHERE `id`='".intval($_GET['id'])."' ORDER BY `id` ASC"); $row = mysql_fetch_array($query); if ($row === false){ header("Location: ". $_SERVER['HTTP_REFERER']); exit(); } if (!empty($row['image']) && file_exists(REAL_IMAGE_ROOT . $row['image'])) $image = IMAGE_ROOT . $row['image']; else $image = 'images/noimage.jpg'; ?>