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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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='[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
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to