Re: Returns..
| From: | Chris Mach | Date: | Fri, 19 Sep 2003 11:53:12 +0000 |
| Subject: | Re: Returns.. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163125@lists.php.net to get a copy of this message | ||
Why does it put a space in there? <br />
It's screwing up my other script which displays just the first 50 words of
the news article by exploding each word into an array. So /> is showing up
after each break.
http://www.ticatfans.com/index.php
"Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message
news:3F6AE871.6050500@webglobe.sk...
> nl2br()
>
> Chris Mach wrote:
> > I have a simple little script that displays news articles that are
stored in
> > mySQL database.
> >
> > However, when the script displays the data, it doesn't recognize the
> > returns/enters. So I have to put <br><br> when ever I want a new
paragraph
> > to begin.
> >
> > How can I get my script to recognize the returns? is there any functions
for
> > this type of thing?
> >
> > Thanks
> >