RE: [PHP] Even easier Q:

From: Date: Thu, 31 Aug 2000 04:13:47 +0000
Subject: RE: [PHP] Even easier Q:
Groups: php.general 
Request: Send a blank email to php-general+get-14517@lists.php.net to get a copy of this message
How Sweet... Cheers! -----Original Message----- From: Eric [mailto:edahnke@istreetlabs.com] Sent: Thursday, August 31, 2000 1:08 PM To: php-general@lists.php.net Subject: Re: [PHP] Even easier Q: 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.="&lt;$data[seller_email]&gt;"; > > $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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#14517) next »