public static function GetByID($id) { $query = "SELECT * FROM phpmmo_event_types WHERE event_type_id = " . $id; $result = mysql_query($query); $values = mysql_fetch_assoc($result); return EventType::GetByAssoc($values); }