RE: [PHP] Returns..
| From: | Jay Blanchard | Date: | Fri, 19 Sep 2003 12:12:54 +0000 |
| Subject: | RE: [PHP] Returns.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-163128@lists.php.net to get a copy of this message | ||
[snip]
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
[/snip]
It is inserting the XHTML acceptable break which is backwards
compatible, but having a look at your source it is doing this....
<br </font><font face="arial" size="2">/>
Inserting a font tag (Bad, Bad Thing TM) in the space and displaying the
last part of the tag. As a matter of fact, there is a font tag for each
word on the page, it appears...
<font face="arial" size="2">Coreslab </font><font
face="arial"
size="2">International </font><font face="arial"
size="2">Inc.,
</font><font face="arial" size="2">a </font><font
face="arial"
size="2">Hamilton-based </font><font face="arial"
size="2">concrete
</font><font face="arial" size="2">fabrication </font><font
face="arial"
size="2">company, </font><font face="arial"
size="2">returned
</font><font face="arial" size="2">from </font><font
face="arial"
size="2">a </font>
There is something very wrong. Dump the font tags and you should see an
improvement.