Jump to content

Not searching within tags


PrMa

Recommended Posts

The content of my site is presented dynamically, from a database. Therefore I have some code in the database, to get structure of the content.

 

I also have a search function on the page.

 

Now to the problem:

 

If the search finds something that is inside tags, for example:

<span class=strong>strong</span>

 

And I search for stong, then the code will break, and display the strong inside the first tag.

 

 

Anyone with a solution to avoid this?

Link to comment
https://forums.phpfreaks.com/topic/98471-not-searching-within-tags/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.