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-22008228");
$keywords="Sony DAV-FR9 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;
?>
Sony DAV-FR9 System $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Frank the Couch Potato Newbie Product Reviewer:
The Sony DAV-FR9 System has high level functionality, the system is easy to set-up, thanks to color-coded speaker connections. Includes: Speakers, DVD Player, 5 Speakers and Subwoofer, Am Fm radio and remote control. Comes with a 5-Disc slot loading DVD/SACD/CD changer, Front and rear floor standing speakers, CD-R/RW, Super Audio CD (Multi), MP3 Playback, and has a silver finish. Take your home entertainment up a serious notch with a DVD Dream® System from Sony.
Pros: Easy to set up. High quality and functions. rear floor standing speakers, |
Cons: A little pricey. |
Sony DAV-FR9 SystemNewbie Rating
2 Thumbs UpReviews similar to our Sony DAV-FR9 System Review:
Pioneer HTD-540DV System The Pioneer HTD-540DV System comes complete with a multi-format 5-Disc... Yamaha YHT-750 System The Yamaha YHT-750 System includes 100 Watts x 6 Channels @ 8 Ohms (1k... Panasonic SC-HT75 System The Panasonic SC-HT75 System is a 5-disc DVD-Audio/Video home theater ... Sharp SD-AT100 System The Sharp SD-AT100 System includes 40 watts per channel x 6, five spea...