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-21852744");
$keywords="Alpine CDA-9831 In-Dash CD Player";
$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;
?>
Alpine CDA-9831 In-Dash CD Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Tone Loco Newbie Product Reviewer:
The Alpine CDA-9831 In-Dash CD Player features: 50 watts x 4 peak power: The internal amplifier pumps out plenty of power to your speakers for great sound.CD-R/RW playback which plays the CDs you burned at home while you're on the go. MP3/WMA playback so you can take your digital music wherever you go for hours of continuous listening.CD-Text: Lets you know at a glance what song or disc is playing.Three pre-amp outputs: Add an amplifier with the pre-amp outputs to run more power to your speakers or a subwoofer.
Pros: Great sound Great features seems durable. |
Cons: None. |
Alpine CDA-9831 In-Dash CD PlayerNewbie Rating
2 Thumbs UpReviews similar to our Alpine CDA-9831 In-Dash CD Player Review:
Pyle PLCDCS90 Car Stereo Cassette, CD Player Another CD/Cassette combo set, the Pyle PLCDCS90 is a really nice mode... Sony CDX-S2000 Car Stereo CD Player Sony’s CDX-S2000 is a great CD stereo deck, if CD/radio audio is all y... Panasonic CQ-DF583U Car Stereo CD Player This Panasonic CQ-DF583U is a great CD deck. Providing excellent sound... Clarion DXZ945MP In-Dash CD Player The Clarion DXZ945MP In-Dash CD Player features: motorized, detachable...