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-22201402");
$keywords="Intec G8500 Starter Kit (e121056)";
$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;
?>
Intec G8500 Starter Kit (e121056) $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by The Electric Monkey Newbie Product Reviewer:
The Intec G8500 Starter Kit (e121056) features: Programmable controller lets you take full control of your game. Has a special extension cable for comfortable gaming at a distance. Game case holds up to six Xbox games. Cable tie helps you keep your wires neat & organized and Includes special storage bag. Controller features 6 digital action buttons & 2 trigger buttons, ergonomic joystick & digital directional pad for superior control, rubberized grips for comfortable handling, Turbo, fire, clear, and programmable function buttons.
|
Pros: Many great features. |
Cons: None |
Intec G8500 Starter Kit (e121056)Newbie Rating
2 Thumbs UpReviews similar to our Intec G8500 Starter Kit (e121056) Review:
Mad Catz Gameshark MegaMemory Card for PlayStation2 (16MB) (gmcc82aaz) The Mad Catz Gameshark MegaMemory Card for PlayStation2 (16MB) (gmcc82... Pelican Night Moves Wireless Dance Pad for Xbox (pl2040) The Pelican Night Moves Wireless Dance Pad for Xbox (pl2040) features:... Nintendo Controller (DOL A CK2) (dolack2) The Nintendo Controller (DOL A CK2) (dolack2) features : Built-in rumb... Mad Catz Dance Pad for Play Station 2 (8240) (madmcb8240) The Mad Catz Dance Pad for Play Station 2 (8240) (madmcb8240) features...