hi all.
i'm trying to read a url and parse the html, retriving only a few parts.
ex:
<html>
<body>
<b>Results<b><br>
<table>.....</table>
<b>Another results</b><br>
<table>....</table>
</body>
</html>
using preg_match, how can i print only the content in the tables after de <b> tags?
is there another way of doing this?
thanks.
preg_match...please help.
Moderator: General Moderators
-
mcog_esteban
- Forum Contributor
- Posts: 127
- Joined: Tue Dec 30, 2003 3:28 pm
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
I'm not good enough at this but after the manual:
[php_man]preg_match[/php_man]
you could also look at this :
http://www.hotscripts.com/PHP/Scripts_a ... _Fetching/
[php_man]preg_match[/php_man]
you could also look at this :
http://www.hotscripts.com/PHP/Scripts_a ... _Fetching/