<input type="hidden" name="userIds[]" value="5"/> User 5 <input type="checkbox" name="userCanDelete[5]"/>
<input type="hidden" name="userIds[]" value="7"/> User 7 <input type="checkbox" name="userCanDelete[7]"/>
Another is to loop through, say, records from the DB and use their IDs for the indexes of the arrays.
-- paperCrane <Justin Patrin>null
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php