On Thursday 15 February 2001 04:31, Dallas Kropka wrote:
I have a few text input boxes that I am using to allow the client to
compose emails for a mailing list... does anyone have a little snippet
that will take the "\n's" and turn them into BR's? I would attempt to
write one myself but
I have a few text input boxes that I am using to allow the client to
compose emails for a mailing list... does anyone have a little snippet that
will take the "\n's" and turn them into BR's? I would attempt to write one
myself but Im not the best at ereg or replace code...
Much
Are you sure you want to convert \n into br for an email? At any rate,
a function exists for this conversion :
http://www.php.net/manual/en/function.nl2br.php
Regards,
Philip Olson
http://www.cornado.com/
.sig
be outside the box.
On Wed, 14 Feb 2001,
Hmmm, ok, now I feel like a dumbass. and somewhere in the back of my
mind I knew of that function.
sorry.
-Original Message-
From: Cameron [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 9:34 PM
To: Dallas Kropka
Subject: Re: [PHP] A little code here? :)
http
check nl2br()
best regards
Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India
- Original Message -
From: "Dallas Kropka" [EMAIL PROTECTED]
To: "PHP LIST" [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 9:01 AM
Subject: [PHP] A little code here? :)
I h
5 matches
Mail list logo