Re: HTML...

From: Date: Mon, 16 Jun 2003 16:34:46 +0000
Subject: Re: HTML...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151684@lists.php.net to get a copy of this message
in page to try var_dump($_POST['email_recipients']); =C= * Cal Evans * http://www.christianperformer.com * Stay plugged into your audience * The measure of a programmer is not the number of lines of code he writes but the number of lines he does not have to write. * ----- Original Message ----- From: "Johnny Martinez" <jmartinez@citrusglobal.com> To: <php-general@lists.php.net> Sent: Monday, June 16, 2003 11:26 AM Subject: [PHP] HTML... > 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; > ?> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#151684) next »