getGUID(); $w = waramu_get(); $obj = waramu_getResource($au, $id); $obj_subs = $obj->getCurriculumSubjects(); $subs = ",".implode(',', $obj_subs).","; $res = insert_data("INSERT INTO {$CONFIG->dbprefix}koolielu_waramu_queue (user_guid, waramu_id, subjects) VALUES ($gid, '$id', '$subs')"); forward("pg/waramu/view/".$id); ?>