Re: extract data from html
| From: | CC Zona | Date: | Thu, 28 Jun 2001 07:14:02 +0000 |
| Subject: | Re: extract data from html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55458@lists.php.net to get a copy of this message | ||
In article <Pine.LNX.4.21.0106281127050.2460-100000@pcs.pcsadvt.com>,
adrian@pcsadvt.com ("Adrian D'Costa") wrote:
> 1. Open the html file in read only mode
> 2. Start reading the html file till I encounter a <td> tag (I don't know
> how to do this)
> 3. Grab that data after the <td> tag (and then what?)
See <http://php.net/manual/en/function.fopen.php>
and
<http://php.net/manual/en/function.fgetss.php>
plus the chapter for
whatever DBMS you want to drop the file contents into.
--
CC