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-22197085");
$keywords="Intec GameCube Black Battery Pak";
$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 GameCube Black Battery Pak $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by The Electric Monkey Newbie Product Reviewer:
The Intec GameCube Black Battery Pak provides power to GameCube and Game Screen. Uses existing GameCube AC adaptor. Play up to 2hrs. Charge time: 4 hrs.
|
Pros: Long hours. |
Cons: None. |
Intec GameCube Black Battery PakNewbie Rating
2 Thumbs UpReviews similar to our Intec GameCube Black Battery Pak Review:
Nintendo (244199) Controller for Game Boy Adcvance The Nintendo (244199) Controller for Game Boy Adcvance has at long las... Intec Multi-Player Link Cable (g1100) The Intec Multi-Player Link Cable (g1100) features: Allows hook-up of ... Intec GameCube RFU Adapter The Intec GameCube RFU Adapter connects your television to the GameCub... Mad Catz Gameshark MegaMemory Card for PlayStation2 (16MB) (gmcc82aaz) The Mad Catz Gameshark MegaMemory Card for PlayStation2 (16MB) (gmcc82...