Re: Newbie Question - Form To Email Needed

From: Date: Sat, 05 May 2007 13:05:44 +0000
Subject: Re: Newbie Question - Form To Email Needed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-254466@lists.php.net to get a copy of this message
1st page: <form> <textarea name='thebody'></texarea> </form> 2nd page: $str_body = $_POST['thebody']; mail('the_email_that_you_want_to_send_to@a_domain.com', 'This is the subject', $str_body); Of course you can have the email and the subject fields come also from the 1st page. Hope that helps! -- itoctopus - http://www.itoctopus.com "revDAVE" <coolcat@hosting4days.com> wrote in message news:C26138B4.122E2%coolcat@hosting4days.com... > Hi folks, > > I have a form on page one - and would like to submit to a second page in > PHP > that could grab the fields and send it out as an e-mail. > > Are there any links that show how do this? > > > Thanks in advance - Dave > > > -- > Thanks - RevDave > CoolCat@hosting4days.com > [db-lists]

« previous php.general (#254466) next »