> -Original Message-
> From: Dan Joseph [mailto:[EMAIL PROTECTED]
> Sent: 30 May 2003 18:03
>
> > Just did a bit of checking..
> >
> > NL == ASCII 010, CR == ASCII 015..
>
> Ahh ok, so nl2br() would work. Cool, I guess you learn
> something new
> everyday. Is there a one for CR's
Hi guys,
I see the following the messages
Notice: Object to string conversion in
D:\Inetpub\wwwroot\cad_service\presentation\PresentationObject.php on
line 18
Notice: Object to string conversion in
D:\Inetpub\wwwroot\cad_service\presentation\PresentationObject.php on
line 19
class Presentation
Hi,
> Just did a bit of checking..
>
> NL == ASCII 010, CR == ASCII 015..
Ahh ok, so nl2br() would work. Cool, I guess you learn something new
everyday. Is there a one for CR's? I noticed cr2br() wasn't listed in the
manual.
-Dan Joseph
--
PHP General Mailing List (http://www.php.n
Dan Joseph wrote:
Hi,
str_replace ("\n", "", $var);
-Dan Joseph
Is CR == NL? What's wrong with nl2br()?
Beats me, is it? nothing wrong with it I guess, I just didn't know about
that function.
-Dan Joseph
Just did a bit of checking..
NL == ASCII 010, CR == ASCII 015..
--
David G
Hi,
> > str_replace ("\n", "", $var);
> >
> > -Dan Joseph
> >
>
> Is CR == NL? What's wrong with nl2br()?
Beats me, is it? nothing wrong with it I guess, I just didn't know about
that function.
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Dan Joseph wrote:
How do you put a carriage return in a MySQL database and have it
display as a line break on the web page?
str_replace ("\n", "", $var);
-Dan Joseph
Is CR == NL? What's wrong with nl2br()?
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117
> How do you put a carriage return in a MySQL database and have it
> display as a line break on the web page?
str_replace ("\n", "", $var);
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7 matches
Mail list logo