How to change the newline (<br>) into "dot" and <br> ?
| From: | Manisha | Date: | Mon, 08 Oct 2001 06:42:03 +0000 |
| Subject: | How to change the newline (<br>) into "dot" and <br> ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70323@lists.php.net to get a copy of this message | ||
I am having the text fetched from mySQL database. I converted newline to <br> with nl2br function.
I need to detect <br> and need to put 'dot' in front of it and then display. (like unnumbered list with 'dot' as a separator)
Is there any command line (substring and indexof to detect it ?)
thanks in advance,
manisha