Ahh, ok, I see now.
Well, like I said, you could follow this part:
PHP Code:
// assume $query contains what they are looking for
// assume $string is what you are searching through
if ($query == preg_match("/<.*?>/",$string)) {
// found a match, don't display it
} else {
// print the data however you want
}
Code:
<b>
Code:
<a>
Code:
</a>
Code:
<a href="index.html"><b>hello</b> more a href tag stuff</a>
-Vic
Leave a comment: