Disable html within defined tags


Posted on 16th Feb 2014 07:03 pm by admin

I have a mysql database that allows users to enter content with html, but I also want to have a tag that will disable the html between it for example:

<a href="a.html">a</a>
[nohtml]
<a href="b.html">b</a>
[/nohtml]

Thus it should look like after formatting:
a
<a href="b.html">b</a>

How would I go about doing this?

No comments posted yet

Your Answer:

Login to answer
102 Like 54 Dislike
Previous forums Next forums
Other forums

header redirect problems? please help
Ok i am making a site that generates youtube thumbnails and i am generating an image that displays 1

change text color with a jQuery code
Hihow can I change the text in a asp:TextBox to a different color when I start typing using jQuery?I

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

form submit at godaddy?
Trying to test form submission at GoDaddy and it does not seem to work. Here's the page...

h

Frustrated php Newbie
First off, I am pretty much a PHP nub. I can read and understand the language (most of the time) so

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

Weekly Calendar
Hi, I am looking at creating a weekly calendar. The calendar will read from Monday - Sunday. Does an

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

PHP form authentication
Hi guys,

what am trying to achieve is this: Whenever a user tries to login to my website, an

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash