Render Html Question??

I

Islamegy®

I have all HTML in my Database.. and I need to have a search capability in
my site..
I can't search using SQL Select statment because of html tags may give
undesired result...

So I thought about to way to implement search
1- render html to get the text and search in it..
2- search the html itself and remove everything between "<>" and "&nbsp;" so
on....... then search the text.

I don't think the second way is ideal solution and i'm sure there is better
way to do search, i think about render html but i don't know how..
Any help please??
 
I

Islamegy®

and if not public.. Is there a way to render html like browsers do??
any help plz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top