hi everyone,
im fairly new to php scripting and was having trouble grabing information 
from a website.
i have been able to grab information that is in amongst other text (for 
example, the word firemaking below)

-------

<td><a href="hiscoreuser.cgi?username=champinoman&category=12" 
class=c>Firemaking</a></td>
<td align="right">7,386</td><td align="right">
61
</td><td align="right">
333,575
</td></tr>

-------

but the number i want to grab is the 61. its on its own line which i think 
is the reason im having trouble.
i have been using this:

eregi 
("username=champinoman&category=13.*align=\"right\">(.*)</td>",$line,$out)

what am i doing wrong? have i posted enough information.

thank you for the help.

p.s. try and keep the answers fairly straight forward as i am new to this 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to