I have a type of mail script that is used to message people within my site.ive been trying to add checkboxes next to each message so users can mass delete.. each message has a specific id...
...... how!?!?!?
Use code like this to output each Checkbox:
echo '<input type="checkbox" name="messages['.$message_id.']" value="1">';
in the PHP script that accepts the submission:
foreach(messages as $id => $value) { if ($value) { // put delete code here }
}
Thanks alot sir.