On Sat, 2 Mar 2002, Craig Westerman wrote: >How can I use fopen to retrieve just one html table out of a whole web page. > >I need to extract just this table (shown below) from this web page: >http://quotes.nasdaq.com/quote.dll?page=multi&mode=stock&symbol=drooy
fopen() will pull the page, yes. But then you will have to parse through it and get just the part you want, or get rid of the parts you don't want. You will need regular expressions and probably some string functions: http://www.php.net/manual/en/ref.regex.php http://www.php.net/manual/en/ref.strings.php -- ----------------------------------------------------------------------- Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ ----------------------------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php