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-20827216");
$keywords="JVC TH-A10 System";
$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;
?>
JVC TH-A10 System $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Frank the Couch Potato Newbie Product Reviewer:
The JVC TH-A10 System includes: Receiver, DVD Player, Speakers, Radio Tuner, provides the functions of a roomful of separate components--without tangles of wires and confusing setup and operation. An all-in-one center unit combines a DVD-Video/VCD/CD player and an FM/AM tuner, along with a full slate of inputs and outputs. Analog audio inputs include VCR, TV/DBS, tape/MD, and auxiliary, while digital-audio inputs include DBS, MD, and auxiliary. Analog audio outputs cover VCR and tape/MD, and there is a digital audio output. Composite and S-VHS video inputs for VCR and DBS and composite and S-VHS video outputs for VCR and monitor complete the TH-A10 picture. Buy this unless you're willing to pay more than $3000 for a home theater/DVD system. This system makes it happen.
Pros: Crisp sound, lots of power. |
Cons: No MP3, CD-R playback |
JVC TH-A10 SystemNewbie Rating
2 Thumbs UpReviews similar to our JVC TH-A10 System Review:
Sony HT-V2000DP System The Sony HT-V2000DP System is perfect if you need a home theater that ... Yamaha DVX-S120 System The Yamaha DVX-S120 System includes 375-watt (55 watts x 5, plus 100-w... Sony HT-4800DP System The Sony HT-4800DP System makes for an incredible home viewing experie... Yamaha YHT-100SL System The Yamaha YHT-100SL System is a complete home theater system with a ...