I should have been more specific in some of my pseudocode: <?php for (each user, their id being $userid) { ?> <input type="hidden" name="userids[]" value="<?php echo $userid; ?>"> <input type="checkbox" name="userdata_<?php echo $userid; ?>[0]" value="1"> Update <input type="checkbox" name="userdata_<?php echo $userid; ?>[1]" value="1"> View <input type="checkbox" name="userdata_<?php echo $userid; ?>[2]" value="1"> Priv <?php } ?>
That is, the '$userid's and the array indexes '[x]' they are followed by are separate in the code. -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php