thanks Jason. works a treat now...!
-- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- "Jason Everett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 > -- [EMAIL PROTECTED] > -- http://twocannons.com > > On Sat, 3 Jul 2004 23:03:51 +0100, Harlequin > <[EMAIL PROTECTED]> 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 > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php