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-30833379");
$keywords="Samsung LN-S4041D 40 in. HDTV LCD 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 LN-S4041D 40 in. HDTV LCD TV $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Harry Vernola Newbie Product Reviewer:
The Samsung LN-S4041D 40 in. HDTV LCD TV delivers vivid color and the crisp detail of 3000:1 dynamic contrast ratio. You to see the picture clearly no matter where you sit in the room with the 178° viewing angle. . The built-in HD (ATSC) tuner means you won't have to pay for an additional tuner component to enjoy HDTV. It has 5 speakers and plenty of connections for better performance. Samsung LCD TVs are equipped with the best technology that they can offer in sound quality. “ This is cool TV and works great. The sound and picture quality are outstanding.”
Pros: Features sharp clear pictures for TV and gaming. |
Cons: No closed caption on mute and no adjustable color temperature |
Samsung LN-S4041D 40 in. HDTV LCD TVNewbie Rating
2 Thumbs UpReviews similar to our Samsung LN-S4041D 40 in. HDTV LCD TV Review:
Panasonic TH-42PD50U 42 in. EDTV Plasma TV The Panasonic TH-42PD50U 42 in. EDTV Plasma TV features a high contras... Samsung LN-R328W 32 in. HDTV-Ready LCD TV The Samsung LN-R328W 32 in. HDTV-Ready LCD TV lets you enjoy regular T... Sharp LC-37D6U 37 in. LCD TV The Sharp LC-37D6U 37 in. LCD TV features: 37" low-reflective flat-pan... Panasonic TH-50PX50U 50 in. HDTV Plasma TV The Panasonic TH-50PX50U 50 in. HDTV Plasma TV delivers an amazing pic...