prepare("SELECT * FROM customers WHERE $where ORDER BY created_at DESC"); $stmt->execute($params); $customers = $stmt->fetchAll(); ?>