Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

How to check if group exist?

Asked Modified Viewed 1,414 times
J
jodlajodla
J
  • Junior Member, joined since
  • Contributed 20 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
asked
Junior Member

Hello!

I'm working on some infusion and I would like to check if some user group exist. First thing which I do with php to show groups is

$user_groups = getusergroups();
$access_opts = "";
$sel = "";
while(list($key, $user_group) = each($user_groups)){
   $access_opts .= "<option value='".$user_group['0']."'$sel>".$user_group['1']."</option>\n";
}


But when user submit form I need to check if submitted group really exist. How to do that?

Thanks! :)

Merged on Aug 14 2012 at 17:00:07:
bump
Edited by jodlajodla on 14-08-2012 17:00,
0 replies
There are no post found.

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

1 participant

J
J
  • Junior Member, joined since
  • Contributed 20 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet