On 5/4/2007 7:40 PM, "Brad Sumrall" <[EMAIL PROTECTED]> wrote:

> Once again my friend,
> Where are the fields?
> There physical 411?
> Database?
> Incoming email?
> Out going email?
> Flat file?


Hello Brad, 

I apologize if I not being clear enough, - I was thinking that there would
simply be a basic Web-Page (page 1) with EMPTY input fields ( that are not
tied to a data source at all) on a form so that the user could fill it out -
click the submit button - and it could go to a second page (PHP) -  that can
process the incoming fields and send an email to an email address...


PAGE 1: Just a basic web page form with a few fields inside like - name -
address etc:

<form action="sendmail.php" method="post">
<input name="name" type="text">
<input name="email" type="text">
</form>


PAGE 2: ... Some kind of PHP sendmail function...

- this is the way I would do it in ColdFusion ( simply going from page 1 to
page 2 that would send an email e-mail (with no database needed))


<cfmail 
to="[EMAIL PROTECTED]"
from="somebody"
server="mail.domain.com"
subject="Some mail">

Name is: #form.name#
Email is : #form.email#

Thanks, 
US
</cfmail>

Q: is there some kind of mail command like this for PHP?



> 
> Brad
> 
> -----Original Message-----
> From: revDAVE [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 04, 2007 10:36 PM
> To: php-general@lists.php.net
> Cc: Brad Sumrall
> Subject: Re: [PHP] Newbie Question - Form To Email Needed
> 
> On 5/4/2007 7:29 PM, "Brad Sumrall" <[EMAIL PROTECTED]> wrote:
> 
>> Where are the fields?
> 
> 
> Hi Brad,
> 
> 
> Just a basic form with a few fields inside like - name - address etc lie:
> 
> 
> 
> <form action="sendmail.php" method="post">
> <input name="name" type="text">
> <input name="email" type="text">
> </form>
> 
> --
> Thanks - RevDave
> [EMAIL PROTECTED]
> [db-lists]
> 
> 
> 
> 
> 
> 
> 


--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]

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

Reply via email to