Tag Archives: php function

PHP Function to extract anything between two tags

Here’s a small snippet of code that I use very frequently when parsing out webpages or content for specific items. For example on any webpage you need to extract data which is present like this: <html><body><h1>ABC</h1>…. <!– A lot list … Continue reading

Posted in Experiments, Old Ramblings | Tagged , , | 6 Comments