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-22200814");
$keywords="Logitech USB Headset for PlayStation 2 (980174)";
$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;
?>
Logitech USB Headset for PlayStation 2 (980174) $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by The Electric Monkey Newbie Product Reviewer:
The Logitech USB Headset for PlayStation 2 (980174) works just as good as any set of headphones you can buy. The digital USB audio processor and noise-canceling microphone produce crystal-clear sound and high-quality voice input for command recognition and more. Features: Adjustable headband, Noise-canceling microphone, 10-foot cord Three interchangeable earpads (velvet, leatherette, foam), Easy USB connection, Requires PlayStation 2 games that support a Logitech USB headset. Compatiable with many games.
|
Pros: Durability; comfortable, best for gamers. |
Cons: Price; mute button eliminates almost all sounds through the microphone |
Logitech USB Headset for PlayStation 2 (980174)Newbie Rating
2 Thumbs UpReviews similar to our Logitech USB Headset for PlayStation 2 (980174) Review:
Intec GameCube Indigo Battery Pak The Intec GameCube Indigo Battery Pak features include: Rechargeable b... Sony Playstation RFU Adapter SCPH-10071/94093 With the Sony Playstation RFU Adapter SCPH-10071/94093 you can connect... Pelican PL-2006 Eclipse Wireless Controller for Xbox (pelpl2006) The Pelican PL-2006 Eclipse Wireless Controller for Xbox (pelpl2006) h... Intec TalkNet-Online Voice Communication Headset (dus0049i) The Intec TalkNet-Online Voice Communication Headset (dus0049i) allows...