RE: [PHP] CR in MySQL?

2003-06-03 Thread Ford, Mike [LSS]
-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? I noticed

[PHP] CR in MySQL?

2003-05-31 Thread Brian Dunning
How do you put a carriage return in a MySQL database and have it display as a line break on the web page? - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] CR in MySQL?

2003-05-31 Thread Dan Joseph
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, br, $var); -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CR in MySQL?

2003-05-31 Thread David Grant
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, br, $var); -Dan Joseph Is CR == NL? What's wrong with nl2br()? -- David Grant Web Developer [EMAIL PROTECTED] http://www.wiredmedia.co.uk Tel: 0117

RE: [PHP] CR in MySQL?

2003-05-31 Thread Dan Joseph
Hi, str_replace (\n, br, $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:

Re: [PHP] CR in MySQL?

2003-05-31 Thread David Grant
Dan Joseph wrote: Hi, str_replace (\n, br, $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

RE: [PHP] CR in MySQL?

2003-05-31 Thread Dan Joseph
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

RE: [PHP] CR in MySQL?

2003-05-31 Thread Narayana Reddy Gari, Ramki (MED)
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