Ok thats cool, guess i'll look for both, and only one in the data
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 17, 2003 5:35 PM
Subject: Re: [PHP] Line breaks in P
On Wednesday, December 17, 2003, at 03:10 PM, Philip J. Newman wrote:
Question:
When you hit enter in a text box is that classified as a \n?
generally, yes.
depending on the client platform, it might be an \r\n or \r (I've
heard)...
justin
--
PHP General Mailing List (http://www.php.net/)
T
Question:
When you hit enter in a text box is that classified as a \n?
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
aving the data into the table, use the above
but then you won't need it when you pull the data back out.
Martin.
-Original Message-
From: Jason Lotito [mailto:[EMAIL PROTECTED]]
Sent: 29 March 2001 20:30
To: [EMAIL PROTECTED]; Php Mailing List
Subject: RE: [PHP] Line bre
> -Original Message-
> From: Matt Davis [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 1:29 AM
> To: Php Mailing List
> Subject: [PHP] Line breaks in PHP
>
>
> I have a form that edits the text on a web page by putting the
> data into a
>
*
RTM. Sometimes it helps! :-)
> - Original Message -
> From: Matt Davis <[EMAIL PROTECTED]>
> To: Php Mailing List <[EMAIL PROTECTED]>
> Sent: Thursday, March 29, 2001 11:29 AM
> Subject: [PHP] Line breaks in PHP
>
>
> > I have a form that edits th
29, 2001 11:29 AM
To: Php Mailing List
Subject: [PHP] Line breaks in PHP
I have a form that edits the text on a web page by putting the data into a
db and then outputting to the webpage when it is called. When I enter my
text into my form I use the return key to start new lines, but when the
I think nl2br() is what you're looking for.
RenzE
Matt Davis wrote:
>
> I have a form that edits the text on a web page by putting the data into a
> db and then outputting to the webpage when it is called. When I enter my
> text into my form I use the return key to start new lines, but when
I have a form that edits the text on a web page by putting the data into a
db and then outputting to the webpage when it is called. When I enter my
text into my form I use the return key to start new lines, but when the text
appears on my webpage it has no line breaks so the text just wraps to
9 matches
Mail list logo