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-21848659");
$keywords="Sony XM-2200GTX Car Audio Amplifier";
$mode="electronics";
$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;
?>
Sony XM-2200GTX Car Audio Amplifier $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Sean Newbie Product Reviewer:
The Sony XM-2200GTX Car Audio Amplifier features: 200 watts RMS at 4 ohms or bridge them for 500 watts, Low pass filter creates great sounding bass. Your amplifier runs cooler and more efficiently. Also has a gold-plated terminals, speaker level inputs and more. The XM-2200GTX 2-channel amplifier puts this reliability to good use with 200 watts RMS power per channel (or 500 watts RMS bridged), plenty of power for a subwoofer or two. “ Best amp I have seen in a very long time”.
|
Pros: works great! |
Cons: None |
Sony XM-2200GTX Car Audio AmplifierNewbie Rating
2 Thumbs UpReviews similar to our Sony XM-2200GTX Car Audio Amplifier Review:
MTX Thunder 404 Car Audio Amplifier The MTX Thunder 404 Car Audio Amplifier features a flexible crossover ... AudioBahn A4601T Car Audio Amplifier The AudioBahn A4601T Car Audio Amplifier's Class A/B Series includes a... MTX Thunder 311D Car Audio Amplifier The MTX Thunder 311D Car Audio Amplifier features:155 watts x 1 at 4 o... Pyle PLA2480 Car Audio Amplifier The Pyle PLA2480 Car Audio Amplifier features: 800 Watts X 2 Output 16...