'Z')) || (($endC < 'A') || ($endC > 'Z')) || ($endC < $startC) ) { $startC = 'A'; $endC = 'D'; } $constraints = null; $query = "SELECT DISTINCT car_id, name FROM cars WHERE buyer_ln REGEXP \"^[" . $startC . "-" . $endC . "]\" AND special_person = \"1\" AND deleted = \"0\" ORDER BY date_sold;"; $cars = get_records_from_query("car", $query); } if ($cars) { $car = $cars[array_rand($cars)]; $car->lookup(); ?>
get_full_title() ?>