Here is a code snippet tutorial that will display all of a pet's battledome statistics: (Note: I didn't want to bother with regex so I just used GSB) (Note 2: This script requires that you have the curllib installed in your PHP configuration. (Most hosts do.)) Code (Text): <?php function GetStringBetween($string, $start, $end){ $string = " ".$string; $ini = strpos($string,$start); if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini; return substr($string,$ini,$len); } $pet = $_GET["pet"]; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, "http://www.neopets.com/petlookup.phtml?pet=".$pet); curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4"); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($curl); echo "Strength: " . GetStringBetween($data, "<b>Strength:</b> ", "<br>"); echo "<br>Defence: " . GetStringBetween($data, "<b>Defence:</b> ", "<br>"); echo "<br>Movement: " . GetStringBetween($data, "<b>Movement:</b> ", "<br>"); echo "<br>Intelligence: " . GetStringBetween($data, "<b>Intelligence:</b> ", "<br>") . "<br><br>"; echo "BD Stats (Win/Lose):<br>"; echo "<font color=green><b>" . GetStringBetween($data, "<b>Won:</b>", "<br />") . "</b></font> /<font color=red><b>" . GetStringBetween($data, "<b>Lost:</b>", "<br />") . "</b></font>"; ?> When the script is accessed like this (script.php?pet=featheralley), here is the output: