Hi,
Here its my situation:
i am making a code who create groups, for that i am using the groups table:
"insert into di082_groups
(id,courseid,name,description,enrolmentkey,descriptionformat) values (default,$arr[0],'$this->grupo','','',1)");
It works well it inserts the register. But when i go to the course and try to add an user on that group. it doesnt appears on the selection scream.
For example on the curse i created manually the group 2, and group 1 by code. and it only appears 2.
what other table do i have to write?? i hope some one can help me.
T