On Thu, 28 Jun 2001, CC Zona wrote:

> In article <[EMAIL PROTECTED]>,
>  [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to