HTML...

From: Date: Mon, 16 Jun 2003 16:26:48 +0000
Subject: HTML...
Groups: php.general 
Request: Send a blank email to php-general+get-151680@lists.php.net to get a copy of this message
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='email1@citrusglobal.com'>Andreas</option> <option value='email2@citrusglobal.com'>Doreen</option> <option value='email3@citrusglobal.com'>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; ?>

« previous php.general (#151680) next »