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-21741985");
$keywords="Coby DVD-815 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;
?>
Coby DVD-815 System $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Frank the Couch Potato Newbie Product Reviewer:
The Coby DVD-815 System is a complete 5.1 Channel DVD Home Theater System--with DVD Player, Receiver, Speakers, and Subwoofer. Plays DVD/MP3/CD/CD-R/CD-RW, Compatible to PAL/NTSC, Convenient On Screen Display, Zoom Operation, Parental Lock Control and Component Video Output, S-Video Output. All of this so you can enjoy a night at the movies in the comfort of your own home.
Pros: Works good and good quality. |
Cons: None so far. |
Coby DVD-815 SystemNewbie Rating
2 Thumbs UpReviews similar to our Coby DVD-815 System Review:
Sony SA-VAD900 System The Sony SA-VAD900 System has full surround sound capability is a fair... Denon DHT-700DV System The Denon DHT-700DV System features an advanced all-in-one DVD player,... Sony DAV-L7100 System The Sony DAV-L7100 System includes A/V receiver at 80 watts x5, 8 ohms... Panasonic SC-HT75 System The Panasonic SC-HT75 System is a 5-disc DVD-Audio/Video home theater ...