: [EMAIL PROTECTED]
Subject: [PHP] Mailing all the elements of a form
Hey,
I have looked in PHP manual but I cannot seem to find what I am looking for.
I have a very large form that I need to be able to mail. I just don't want
to have to code all of the field
If you just want ALL the fields of the form the appear one after the other
(with something \n after each), then you could just loop through the POST
vars (assuming you used ), which would
be either in the $_POST array or the $HTTP_POST_VARS array.
something like:
$value)
{
$msg .= "{$ke
Jeremy Bowen wrote:
> Hey,
>
> I have looked in PHP manual but I cannot seem to find what I am looking for.
>
> I have a very large form that I need to be able to mail. I just don't want
> to have to code all of the field into my mail() function.
>
> Thanks,
>
> Jeremy
>
>
ðÒÉ×ÅÔ!
*IF* the
ation is passed to PHP, just make a loop which will make
an array of the form fields that are NOT null.
Hope this helps,
C.
> -Original Message-
> From: Jeremy Bowen [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 07, 2002 2:28 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Mail
Hey,
I have looked in PHP manual but I cannot seem to find what I am looking for.
I have a very large form that I need to be able to mail. I just don't want
to have to code all of the field into my mail() function.
Thanks,
Jeremy
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
5 matches
Mail list logo