Re: form inside an email
| From: | abrea | Date: | Tue, 14 Jun 2005 14:58:30 +0000 |
| Subject: | Re: form inside an email | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216966@lists.php.net to get a copy of this message | ||
Doesn't this work?:
inside your email:
<form ... action="http://yoursite.com/yourpage.php">
<input ... name="var1">
<input ... name="var2">
</form>
yourpage.php:
<?php if(isset($_POST)):
// process the input
endif; ?>
Alberto Brea
estudio_brea@yahoo.com
-----Original Message-----
From: "Ross" <ross@aztechost.com>
To: php-general@lists.php.net
Date: Tue, 14 Jun 2005 19:11:26 +0100
Subject: [PHP] form inside an email
> Hi,
>
> I would like to send a form to customers to get some information.
>
> The form will be a HTML email and collect a few bits of data...name.
> age
> etc.
>
> Can I put this inside an html email so customers do not have to open an
> external webpage to fill in the fields. How can this then be processed?
>
> If this can be done in php then great. If not any other suggestions are
> welcome.
>
> Ross
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>