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-27694986");
$keywords="Samsung LNR238W 23 in. 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 LNR238W 23 in. LCD TV $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Harry Vernola Newbie Product Reviewer:
p to 14-bit signal processing provide superior performance at brightness levels where the pictures are
Pros: Well built, dependable, quality and features. |
Cons: No closed caption on mute |
Samsung LNR238W 23 in. LCD TVNewbie Rating
2 Thumbs UpReviews similar to our Samsung LNR238W 23 in. LCD TV Review:
Sony BRAVIA™ KDL-40S2000 40 in. HDTV LCD TV The Sony BRAVIA™ KDL-40S2000 40 in. HDTV LCD TV features: wide screen ... Samsung LN-R409D 40 in. HDTV-Ready LCD TV The Samsung LN-R409D 40 in. HDTV-Ready LCD TV's are Digital Cable Read... Samsung LN-S3251D 32 in. HDTV LCD TV The Samsung LN-S3251D 32 in. HDTV LCD TV is a great Tv and it features... Sony KDF-E50A10 50 in. HDTV LCD TV The Sony KDF-E50A10 50 in. HDTV LCD TV has a cool design and the pictu...