Searching and removing

From: Date: Thu, 29 Jul 2004 21:37:59 +0000
Subject: Searching and removing
Groups: php.general 
Request: Send a blank email to php-general+get-192246@lists.php.net to get a copy of this message
There is a local radio station near me that has a crumby webserver that doesn't server HTTP requests in a standard way. So, I wrote a simple PHP script that fetches a playlist I want (with curl) and serves it properly. I only want to get a table from the resulting HTML file. I have it stored in a variable. So, my question is how would I go about removing the garbage I don't want until I hit the <table> tag I want and then remove everything after the </table> tag at the end?

« previous php.general (#192246) next »