PHP search for website with specific words

I’m trying to monitor a new products page of a website with specific words. I already have a basic script that searches for a single word using file_get_contents(); however this is not effective.

Looking at the code they are in <td> tags within a <table>

How do I get PHP to search for the words no matter what order and get declaration they are in? e.g.

$searchTerm = "Orange Boots";


   <td>Boots (Red)</td>
   <td>boots (ORNAGE)</td>
   <td>Shirt (Green)</td>

Returns a match.

Sorry if its not clear, but I hope you understand

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.