umm nl2br doesnt work most the time ,
"nl2br -- Inserts HTML line breaks before all newlines in a string "
sorry to give a wrong example this is for splitting your content into
paragraphs obviously where there is a break in the content like so
efwojeiowerjwetwpjwewoj
eioptejoiejiojtei
it wont br every bloody newline ! which doesnt give good results all the time
>===== Original Message From "CPT John W. Holmes" <[EMAIL PROTECTED]>
=====
>> /**
>> * converts line break and spaces to page break
>> *
>> * @access public
>> */
>>
>> function nlbr($string) {
>> return preg_replace("/(\r\n|\n|\r)/", "<br>\n", $string);
>> }
>
>ummm.... www.php.net/nl2br() ??
>
>Start a new thread for your question, don't hijack someone else's thread.
>
>---John Holmes...
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php