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-22201401");
$keywords="Intec G7500 Starter Kit with Wireless Remote (e121127)";
$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 Intec G7500 Starter Kit with Wireless Remote (e121127) is easy to install and use. Features: Pack of accessories for PS2, Advanced dual analog controller with extra features. Wireless controller for DVDs, CDs and games. Also has a six-foot extension cable for controller. Wireless DVD Control of DVD's, music CD's & PlayStation2 games, pass thru feature allows simultaneous use of controller, works up to 30-ft away, uses 2 AAA batteries (not included).
|
Pros: Many features |
Cons: Batteries not included. |
Intec G7500 Starter Kit with Wireless Remote (e121127)Newbie Rating
2 Thumbs UpReviews similar to our Intec G7500 Starter Kit with Wireless Remote (e121127) Review:
Sony Dual Shock 2 Controller The Sony Dual Shock 2 Controller is a standard controller, you can't g... Intec Racing Wheel The Intec Racing Wheel features: Racing wheel for GameCube, PS One, Pl... Nintendo Donkey Kong Bongos (dolatk) The Nintendo Donkey Kong Bongos (dolatk) Connect up to four dk bongos ... Intec G8205 Extension Cable (xbx-xtensio) The Intec G8205 Extension Cable (xbx-xtensio) features include: This 6...