Display Problemo
| From: | Lerp | Date: | Tue, 20 Nov 2001 16:27:24 +0000 |
| Subject: | Display Problemo | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75255@lists.php.net to get a copy of this message | ||
I have a small php app that I'm building to display, insert, edit, etc...
various types of code snipits (asp, php, html, etc...) in a db. I also have
a download option that creates a text file with the code that they've
selected.
I have 2 problems...the first is that when I go to view the text file I have
all sorts of <BR> tags within the text, this is due to the nl2br function I
used prior to the db insertion. How would I get rid of those?
The seond problem is when a user goes to view an html code example on the
webpage, say with
a hyperlink, the hyperlink is made active replacing the code with the actual
<a href> tag.
Thx in advance, Lerp