JFIF x x C C " } !1AQa "q2 #B R $3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2 B #3R br $4 % &'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ? N m? j EP = :min_price"; $params[':min_price'] = $min_price; } if (is_numeric($max_price)) { $query .= " AND price <= :max_price"; $params[':max_price'] = $max_price; } if (!empty($start_date)) { $query .= " AND available_from = :start_date"; $params[':start_date'] = $start_date; } if (!empty($end_date)) { $query .= " AND available_to = :end_date"; $params[':end_date'] = $end_date; } // Run query and fetch results $stmt = $conn->prepare($query); $stmt->execute($params); $results = $stmt->fetchAll(PDO::FETCH_OBJ); /* Output results if ($results) { foreach ($results as $property) { echo "
Location: " . htmlspecialchars($property['location']) . "
"; echo "Type: " . htmlspecialchars($property['property_type']) . "
"; echo "Price: $" . htmlspecialchars($property['price']) . "
"; echo "Available: " . htmlspecialchars($property['available_from']) . " to " . htmlspecialchars($property['available_to']) . "
"; echo "No properties found matching your criteria.
"; }*/ } ?>Find your perfect rental from our extensive collection of premium properties
= count($results) ?> result= count($results) > 1 ? 's' : '' ?> found
= htmlspecialchars($result->location) ?>
'; echo $query . "\n"; print_r($params); echo '';*/ ?>