it dosent work.
elseif ($order == 'suburb') {
$sql = "SELECT DISTINCT A1.propert_id, A1.open_date, A1.24hr_time, A2.id, A2.suburb, FROM open_house A1, Listings A2 WHERE A1.open_date>='$date_today' ORDER BY A2.suburb, A1.open_date, A1.24hr_time ASC";
}
aron.