Johnny Martinez wrote:
Hi all, I'm trying to send an email to multiple recips but for some reason the <Select> isn't passing "multiple" <options>...Does anyone see a problem with this code? Do I an array or something to handle the passed multiples?
Johnny
============================================
page_1.php:
<html>
<body>
<form action='page_2.php' method='post'>
<select name='email_recipients' size='6' multiple>
<option value='0' selected>NONE</option>
<option value='[EMAIL PROTECTED]'>Andreas</option>
<option value='[EMAIL PROTECTED]'>Doreen</option>
<option value='[EMAIL PROTECTED]'>Elvin</option>
</select>
<input type='submit' name='action' value='Add'>
</form>
</body> </html>
=====================================
page_2.php
<?php $email_recipients = $_POST['email_recipients'];
print "<br>" . $email_recipients;
?>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php