public function View($id) { global $db; $db->select('EventsComments', array('CommentID' => $id), $limit = false, $order = false, $where_mode = "AND", $print_query = false, $What = "*", $innerJoin = ""); if (!$db->error) { $result = $db->row_array(); members::View($result['memberID']); } }