hi all
this is the "content" stored in the database with <div><a> tags
If i useHTML Code:<div style="font-size:14px">lorem ipsume lorem ipsume lorem ipsume lorem ipsume lorem ipsume lorem ipsume lorem ipsume <a href="http://yahoo.com">lorem ipsume</a> <div>
then content is displayed as it is with <div style="font-size:14px"><a> tags.PHP Code:htmlspecialchars($content)
i dont want to show these tags <div style="font-size:14px"><a> while displaying content on my page to client.
I dont want to remove/strip these tags and want these tags to only be visible when we click on "view source" browser option.
what should i use
vineet



Reply With Quote



Bookmarks