school_id = $school_id; $this->coach_id = $coach_id; $this->url = $url; $this->session = json_encode($session); $this->post = json_encode($post); $this->ip = $ip; $this->create_time = time(); $this->insert(); } }