php-general | 2001062
Date: 06/29/01
- Next message: Man He: "[PHP] Please Help......"
- Previous message: Tom Rogers: "Re: [PHP] Stopping stolen / spoofed / linked sessions"
- In reply to: CC Zona: "Re: [PHP] extract data from html"
- Next in thread: CC Zona: "Re: [PHP] extract data from html"
- Reply: CC Zona: "Re: [PHP] extract data from html"
- Reply: Hugh Bothwell: "Re: [PHP] extract data from html"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 28 Jun 2001, CC Zona wrote:
> In article <Pine.LNX.4.21.0106281127050.2460-100000 <email protected>>,
> adrian <email protected> ("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.
Thanks. One thing just reading the manual without the idea of how the
function works is of no use. Some examples would help. In fact I did use
fopen, fgets, fgetss but the problems is that the html tag that I am
looking is <td>. Now this is easy but if <td width="25%"> or <td
colspan="7"> would give a problem.
Adrian
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Man He: "[PHP] Please Help......"
- Previous message: Tom Rogers: "Re: [PHP] Stopping stolen / spoofed / linked sessions"
- In reply to: CC Zona: "Re: [PHP] extract data from html"
- Next in thread: CC Zona: "Re: [PHP] extract data from html"
- Reply: CC Zona: "Re: [PHP] extract data from html"
- Reply: Hugh Bothwell: "Re: [PHP] extract data from html"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

