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
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";
<table> <td>Boots (Red)</td> </table> <table> <td>boots (ORNAGE)</td> </table> <table> <td>Shirt (Green)</td> </table>
Returns a match.
Sorry if its not clear, but I hope you understand