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-27705517");
$keywords="Samsung HPR4272 42 in. Plasma TV";
$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;
?>
Samsung HPR4272 42 in. Plasma TV $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Harry Vernola Newbie Product Reviewer:
The Samsung HPR4272 42 in. Plasma TV has been a great addition to our family. Some of the features that make this great are: widescreen 16:9 aspect ratio, 1024 x 768 pixels, 10,000:1 Dynamic Contrast Ratio, 175°(H) x 175°(V) viewing angle, built-in scaler (upconverts non-HD signals to 768p), 13-bit video processing (549 billion colors), DNIe™ (Digital Natural Image engine) picture enhancement. Also has Auto Pixel Shift (resists screen burn-in), 1-tuner Picture-in-Picture (inset or split-screen), non-detachable stereo speakers (15 watts x 2), 5 A/V inputs, including: 2 composite video - 2 S-video - 2 HD-compatible component video (accepts 1080i/720p/480p/480i signals), 1 HDMI digital audio/video input, PC input: analog RGB (easily connect and swap devices such as video cameras and game consoles without having to access the back of the TV. Includes composite Audio/Video and S-Video. -Sub 15-pin), RF input for antenna/cable signals, detachable tabletop stand and so much more. “ Man this great HPR4272 has it all. I love watching movies and this is great for entertainment.”
Pros: Quality, picture and video quality, features. |
Cons: None |
Samsung HPR4272 42 in. Plasma TVNewbie Rating
2 Thumbs UpReviews similar to our Samsung HPR4272 42 in. Plasma TV Review:
Hitachi 42HDF52 42 in. HDTV-Ready Plasma TV The Hitachi 42HDF52 42 in. HDTV-Ready Plasma TV features: Features: 10... Philips 42PF9630A 42 in. Plasma TV The Philips 42PF9630A 42 in. Plasma TV lets you choose from different ... Samsung LN-S4041D 40 in. HDTV LCD TV The Samsung LN-S4041D 40 in. HDTV LCD TV delivers vivid color and the ... Hitachi 42HDF52 42 in. HDTV-Ready Plasma TV The Hitachi 42HDF52 42 in. HDTV-Ready Plasma TV features: Features: 10...