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-23216450");
$keywords="Pelican System Selector for XBox (PL-960)";
$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;
?>
Pelican System Selector for XBox (PL-960) $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by The Electric Monkey Newbie Product Reviewer:
The Pelican System Selector for XBox (PL-960) provides seven rear inputs for AV, 8-video, component video, digital output, Ethernet and full-functional outputs. Features include: 8 A/V and S-Video inputs, 3 Component inputs, 3 Ethernet(Broadband) Inputs, and works with all gaming systems. The Pro System Selector offers you complete control over each portion of your home entertainment system.
|
Pros: Great product, quality. |
Cons: None. |
Pelican System Selector for XBox (PL-960)Newbie Rating
2 Thumbs UpReviews similar to our Pelican System Selector for XBox (PL-960) Review:
Nintendo Controller- Spice With the Nintendo Controller- Spice you'll enjoy this controller becau... Naki G-Shock Racing Wheel (80115) The Naki G-Shock Racing Wheel (80115) features: Microsoft tested and a... Nintendo Controller DOLACVT2 The Nintendo Controller DOLACVT2 provides the crucial connection betwe... Intec Racing Wheel The Intec Racing Wheel features: Racing wheel for GameCube, PS One, Pl...