Posted: Sat Sep 17, 2005 1:50 pm
Thanks, that's a much better solution.
Will be able to use that to shorten my code a lot
Revised code:
Thanks again.
Edit:
PS. Here is my work in progress at the moment, just concentrating on getting the data first, then tidy it up later, all made possible by the help from you guys

Will be able to use that to shorten my code a lot
Revised code:
Code: Select all
$page=file_get_contents('http://aaotracker.4players.de/clanprofile.php?clanid=7523');
$page=strip_tags($page);
$name='Spaceman';
//echo $page;
$i=strpos($page, $name);
echo substr($page, $i+16, 5);Edit:
PS. Here is my work in progress at the moment, just concentrating on getting the data first, then tidy it up later, all made possible by the help from you guys
