Posted by Arjen on 06/23/06 13:33
McHenry schreef:
> I have a simple task to query a number of pages and read data then save it
> into a database.
> Each page has repeating data similar to a listing of stock quotes where each
> pages lists 100 stocks etc.
>
> a) I can query the web and store the page in a variable
> b) I can update the database with the data
>
> I cannot work out the best way to process the variable of the web page to
> extract the required data, presently it is simply one large string in a
> variable.
>
> Any pointers would be greatly appreciated...
Nothing wrong with a large string. Use preg_match or so to filer out the
data.
Can you give an example of what page u retrieve and what data u want out
of it ?
arjen
[Back to original message]
|