Re: Sending Mail Using PHP & MySQL

From: Date: Sat, 03 Jul 2004 22:24:24 +0000
Subject: Re: Sending Mail Using PHP & MySQL
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-189650@lists.php.net to get a copy of this message
thanks Jason. works a treat now...! -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- "Jason Everett" <je1330@gmail.com> wrote in message news:c600d12b040703152067531394@mail.gmail.com... > You have a " before $NewUserMail; on the first line, so everything > until the next " is part of that variable. Since there's not a ; > after the second ", you are getting the error. > > -- jason everett > -- je1330@gmail.com > -- http://twocannons.com > > On Sat, 3 Jul 2004 23:03:51 +0100, Harlequin > <michael.mason@arraspeople.co.uk> wrote: > > Hi again. New Hour, New Problem. > > > > I'm using the following code to user user input from a form on a previous > > page to send mail confirming registration: > > > > $To = "$NewUserMail; > > $Subject = "Welcome To Arras People's Registered Members Area"; > > $Message = "$NewUserID, \n\nWelcome to the arras People registered members > > section of our website > > facilites here include tropical gardens, tea parties and late nights out > > with one of our directors."; > > $MailSend = mail($To,$Subject,$Message); > > > > I get Parse Error on line 62 "$Subject". > > > > Any ideas...? Am I missing something fundamental here...? > > > > -- > > ----------------------------- > > Michael Mason > > Arras People > > www.arraspeople.co.uk > > ----------------------------- > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

« previous php.general (#189650) next »