where it finds a start tag.
function startTag($parser, $data){
}
// And this function tells the parser to replace the end tags with "
"
function endTag($parser, $data){
global $total;
$total = $total . "*";
}
// These lines create the parser and then set the functions for the parser to use when
// reading the document.
$xml_parser = xml_parser_create();
// Sets the functions for start and end tags
xml_set_element_handler($xml_parser, "startTag", "endTag");
// Sets the function for the contents/data
xml_set_character_data_handler($xml_parser, "contents");
// Read the file and save its contents as the variable "data"
$my_file = file("http://api.shopping.com/scripts/GSIsapiExt.dll/linkin_id-3069515/keyword-20255192");
$keywords="Need For Speed: Hot Pursuit 2 for GameCube";
$mode="electronics";
$data = $my_file[1];
if(!(xml_parse($xml_parser, $data, feof($fp)))){
die("Error on line " . xml_get_current_line_number($xml_parser));
}
// Free the memory used to create the parser
xml_parser_free($xml_parser);
// Close the file when you're done reading it
fclose($fp);
$info = explode("*", $total);
$arraytotal = count($info) - 8;
?>
Need For Speed: Hot Pursuit 2 for GameCube $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Kathy Swordson Newbie Product Reviewer:
Choose from a variety of today's most popular names in street racing (think Toyota and Mitsubishi), and race your way to fame and glory. Earn money to buy new parts for your car, eventually making it the ultimate street machine. There are over one-hundred events that will challenge your skills as a driver and give you opportunities to unlock new cars. Excellent true-to-life graphics bring urban backdrops to life, soundtrack is definitely sure to get you pumped. Overall, this is one of my favorite racing games.
Pros: Plenty of choices when it comes to cars and ways to customize your vehicle. Realistic graphics, cool sound. Good controls are and realistic handling captures the individuality of each specific car. |
Cons: Music can get a bit repetitive after you've heard it for a few hours straight (not much of a complaint). |
Need For Speed: Hot Pursuit 2 for GameCubeNewbie Rating
2 Thumbs UpReviews similar to our Need For Speed: Hot Pursuit 2 for GameCube Review:
1080° Avalanche for GameCube Race your snowboard through awesome environments that really bring nat... Lord of the Rings: The Two Towers for GameCube If you liked the movie, chances are you'll want to own the game if onl... James Bond 007: NightFire for GameCube The James Bond 007: NightFire for GameCube an all-new James Bond adven... Star Wars Rogue Squadron III: Rebel Strike for GameCube Play as your favorite character from the first Star Wars trilogy in th...