Add brackets to their name, as in
HTML Code:
<input type="checkbox" name="email[]" value="email1@domain.com" />
<input type="checkbox" name="email[]" value="email2@domain.com" />
<input type="checkbox" name="email[]" value="email3@domain.com" />
Then you can access them through
PHP Code:
foreach ($_POST['email'] as $email) { // do something }
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
|