function insert_id() { $_obj_temp = $this->query("SELECT LAST_INSERT_ID()"); $this->db_rs = $this->fetch_row($_obj_temp); return $this->db_rs[0]; }