thanks for your support bl.
Ok, thanks for the code to add secondry usergroup, it works well. However, how do you make ti that the submitter of the form is added, rather than a numbered user. For example, you wrote
PHP Code:
/*alter this userid*/
$a_userid = 2;
$userinfo = fetch_userinfo($a_userid);
if (empty($user['membergroupids']))
{
I tried adding {userid} but that didnt work. That was a bad guess, its not php :P
What would you put to fetch the id of the person who filled in the form?