echo "<option value=\"" . $userInst->id . "\">" . $userInst->name . "\n"; next($list); } ?> </select> </td> <td align="center"> <input type="submit" value="< <?php echo $lang['common_switch']; ?> >"> </td> <td> <select name="remove" size="10"> <?php $list = $accessInst->getUsers(); while ($element = current($list)) { $userInst = new user($element); echo "<option value=\"" . $userInst->id . "\">" . $userInst->name . "\n"; next($list); } ?> </select> </td> </tr> </table> </form> <?php ####################################################################### ## list existing records