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-22202050");
$keywords="Nintendo Indigo Controller for GameCube (b00005qefl)";
$mode="videogames";
$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;
?>
Newbie Review by The Electric Monkey Newbie Product Reviewer:
The Nintendo Indigo Controller for GameCube (b00005qefl) provides the crucial connection between the player and the game. Features include: Built-in rumble, 2 analog control sticks, Ergonomic design. This is the perfect link between player and game. Intuitive button layout. It features a cool design with great grip and layout and has an awesome digital click for the L and R buttons.
|
Pros: This is a necessity if you have more than one gamer in the house. |
Cons: None |
Nintendo Indigo Controller for GameCube (b00005qefl)Newbie Rating
2 Thumbs UpReviews similar to our Nintendo Indigo Controller for GameCube (b00005qefl) Review:
Pelican Pro System Selector (PL-957) (pl957) The Pelican Pro System Selector (PL-957) (pl957) includes every hook u... L S Ind Inc 16-Game Carrying Case for PS1 and PlayStation 2 (sps160) The L S Ind Inc 16-Game Carrying Case for PS1 and PlayStation 2 (sps16... Sega Dreamcast Virtual Memory Unit The Sega Dreamcast Virtual Memory Unit has its own microprocesor, scre... Monster Cable PLW100 FO-10 Fiber Optic Audio Hookup for Sony PlayStation 2 (plw-100fo10) The Monster Cable PLW100 FO-10 Fiber Optic Audio Hookup for Sony PlayS...