I have a list of users with checkbox next to the name. Value of the checkbox contains member id.
<input type="checkbox" name="userID[$n]'" value="'.$userID.'">$userName
When I submit the form I put the ids in a string
.
Is it possible to append user name with ID? maybe something like
232:John Doe,342:Jane Doe,665:Bill Dobbs,22:Mark Test
I used colon for be but it could be connected in any other way. One catch, I need to be able to use the string with IDs on one page. So somehow I need to strip the names...