Posted by Bob on 12/09/06 00:16
The TitleField in my DB reads:
Some title <span class=BoldRed>*</span>
This shows up correctly, with the asterisk in the correct format, when
shown on the web.
I also want to show this field without any of the formatting; i.e.
Some title *
I've tried:
$notags = stripslashes($row['title']);
and also
$notags = htmlspecialchars($row['title']);
but still get the tag info. How can I get rid of it?
[Back to original message]
|