public function _activityadd() { $Activity = new activity(); $Activity->_add($_SESSION["USERID"], $_POST['activityname'], $_POST['activitydescription'], 0, $_SESSION["TEAMID"]); }