Re: Even easier Q:
| From: | Eric | Date: | Thu, 31 Aug 2000 04:08:03 +0000 |
| Subject: | Re: Even easier Q: | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14516@lists.php.net to get a copy of this message | ||
Thx again.
I guess I'm getting tripped up by looking at code snippet results with the
browser when in fact none of it is intended for the browser.
Understood. source != what the browser renders.
You folks (and myself - I answer questions when I can) are the reason php -
linux - apache - qmail et al will continue to grow and out do other
development enviroments | tools. Can you feel the love?
Billy Harvey wrote:
> Eric,
>
> Remember that a carriage return in your source file is ignored when
> interpreted by html. Look at the source code that the browser is reading,
> and you'll see the new-line. It should work fine when fed to the system
> mail program.
>
> Billy
>
> ----- Original Message -----
> From: "Eric" <edahnke@istreetlabs.com>
> To: <php-general@lists.php.net>
> Sent: Wednesday, August 30, 2000 11:52 PM
> Subject: [PHP] Even easier Q:
>
> >
> > Sorry folks,
> >
> > This one has been a question of mine for weeks. How about getting a
> > carriage return in my string?
> >
> > $header="$data[seller_fname] $data[seller_lname] ";
> > $header.="<$data[seller_email]>";
> > $header.="\nReply-To: edahnke@hotmail.com";
> >
> > produces:
> >
> > Mr. Seller <seller@gooutdoor.com> Reply-To: edahnke@hotmail.com
> >
> > I need:
> >
> > Mr. Seller <seller@gooutdoor.com>
> > Reply-To: edahnke@hotmail.com
> >
> >
> > I've read the FM and it says \n or \r , etc will produces spaces and
> > carriage returns (don't recall the specifics) - but it has never worked
> > as you might think.
> >
> >
> > Thx for the help.