Forum Moderators: coopster
A friend of mine recently requested a script that retrieves clan member's levels from a game's high score table. Many people have suggested using cURL, file_get_contents(), and preg_match_all()...But, I have no idea how to use these. =S
Basically, I need to grab the 'Level' column from this page: <snip>
Substituting 'saikou_xl' with a username submitted via a form (already got that part finished, just can't grab the Level column by itself...)
Any help would be MUCH appreciated. :)
[edited by: trillianjedi at 9:47 pm (utc) on Aug. 13, 2006]
[edit reason]
[1][edit reason] No specific URL's please as per TOS... [/edit] [/edit][/1]
You could use one of the Regular Expression Functions [php.net]
<body>
.
.
.
<table border="0" class="raisepagesmall">
{data}
</table>
.
.
.
</body>
<tr>
<td></td>
<td align="left"><a href="overall.ws?table=0&user=saikou_xl">Overall</a></td>
<td align="right">68,572</td>
<td align="right">1397</td>
<td align="right">14,438,773</td>
</tr>
I'm so confused. >.<