Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Ankur Verma
you will need to use "\r\n" instead of only "\n", I guess hope that helps best regards Ankur Verma HCL Technologies A1CD, Sec -16 Noida, UP India - Original Message - From: "Larry Rosenman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 12:51 AM Subject

Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman
* CC Zona <[EMAIL PROTECTED]> [010214 21:21]: > [restored to bottom-posting, for clarity] > > > > > I was trying to build up a multi-line body to use with the mail > > > > command, using code similar to: > > > > $mailbody = $mailbody . '\n' . $HTTP_POST_VARS["somefield"]; > > > > > >

Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread CC Zona
[restored to bottom-posting, for clarity] > > > I was trying to build up a multi-line body to use with the mail > > > command, using code similar to: > > > $mailbody = $mailbody . '\n' . $HTTP_POST_VARS["somefield"]; > > I think you can do it like this: > > > > $mailbody="$varname\n$

Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread 'Larry Rosenman'
* Janet Valade <[EMAIL PROTECTED]> [010214 18:33]: > I think you can do it like this: > > $mailbody="$varname\n$varname2"; That works. Hmm. I wonder why the concatenation didn't? Thanks! LER > > Janet > > > > -Original Message- > > From: Larry Rosenman [SMTP:[EMAIL PROTECTED

Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman
* Lewis Bergman <[EMAIL PROTECTED]> [010214 13:50]: > On Wed, 14 Feb 2001, you wrote: > > Greetings, > > I was trying to build up a multi-line body to use with the mail > > command, using code similar to: > > $mailbody = $mailbody . '\n' . $HTTP_POST_VARS["somefield"]; > > > > when I s

Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Larry Rosenman
* Christian Cresante <[EMAIL PROTECTED]> [010214 13:27]: > You need to use "\n" for interpolation. Tried that too... Didn't work for me... > > --- Larry Rosenman <[EMAIL PROTECTED]> wrote: > > Greetings, > > I was trying to build up a multi-line body to > > use with the mail > > command, usi

Re: [PHP] concatenating strings and \n's for mail...

2001-02-14 Thread Christian Cresante
You need to use "\n" for interpolation. --- Larry Rosenman <[EMAIL PROTECTED]> wrote: > Greetings, > I was trying to build up a multi-line body to > use with the mail > command, using code similar to: > $mailbody = $mailbody . '\n' . > $HTTP_POST_VARS["somefield"]; > > when I sent the