ole90
03-23-2008, 10:51 PM
Hey guys,
I allow people to use BBcode in their signatures. I basically let them enter the BBcode into their signatures, and then use a function which converts it to HTML and then update it in their row in the table.
The problem i am having is, that sometimes a user will just put in one tag like [IMG] and it function converts it to <img src='
This causes problems when outputting it onto my forums and causes the page tables to go all funny. Any help?
I allow people to use BBcode in their signatures. I basically let them enter the BBcode into their signatures, and then use a function which converts it to HTML and then update it in their row in the table.
The problem i am having is, that sometimes a user will just put in one tag like [IMG] and it function converts it to <img src='
This causes problems when outputting it onto my forums and causes the page tables to go all funny. Any help?