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-22196350");
$keywords="APC Surge GameMgr w/Network & Coax (gmx6vn)";
$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;
?>
APC Surge GameMgr w/Network & Coax (gmx6vn) $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by The Electric Monkey Newbie Product Reviewer:
The APC Surge GameMgr w/Network & Coax (gmx6vn) allows you to safely store your games, controllers and memory cards while neatly organizing your entire game system. Removable storage modules enable you to safely take your games and memory cards with you wherever you go. And built-in surge protected outlets ensure that your entire gaming or entertainment system is protected from dangerous power surges and spikes.
|
Pros: Good quality. |
Cons: None |
APC Surge GameMgr w/Network & Coax (gmx6vn)Newbie Rating
2 Thumbs UpReviews similar to our APC Surge GameMgr w/Network & Coax (gmx6vn) Review:
Intec G8205 Extension Cable (xbx-xtensio) The Intec G8205 Extension Cable (xbx-xtensio) features include: This 6... Intec Car Adapter (e118096) The Intec Car Adapter (e118096) features include: Plugs into cigarette... Logitech Rumblepad 2 Vibration Gamepad (963325-0403) The Logitech Rumblepad 2 Vibration Gamepad (963325-0403) features: Dua... Intec Pro Mini 2 for Xbox (g8095) The Intec Pro Mini 2 for Xbox (g8095) features analog steering wheel m...