if ($condition) { $where = "WHERE status = '$condition'" }