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-21886992");
$keywords="Nikon Coolpix 5200 Digital Camera";
$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;
?>
Nikon Coolpix 5200 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Nikon Coolpix 5200 is a 5.1 megapixel digital camera which is ultra-small and compact designed to fit in the pocket. This point and shoot camera so small that it measures 3.5 x 1.4 x 2.3 inches and weighs only .34 lbs. The features include a 1.5 -inch 110,000 pixels LCD panel, 3x (38 - 114 mm) Nikkor ED and 4x digital zoom lens with aspherical element, capable of movie clips - 640x480 @ 30 frames per second, in-camera automatic red-eye removal, 15 scene modes, Best Shot Selector that takes a series of shots and chooses the sharpest you want. It is powered by EN-EL5 rechargeable Lithium Ion (supplied with charger) battery that drains after 150 images are shot. From novice to advance users, this camera is great buy for the money.
Pros: Small size, compact, ease of use, light-weight, price |
Cons: No AC adapter included, Short battery life |
Nikon Coolpix 5200 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Nikon Coolpix 5200 Digital Camera Review:
Canon PowerShot S3 IS Digital Camera The Canon PowerShot S3 IS Digital Camera offers you high resolution, a... Pentax Optio 50 Digital Camera The Pentax Optio 50 Digital Camera lets you get clear sharp photos wit... Olympus Camedia C-50 Zoom Digital Camera The Olympus Camedia C-50 is an ultra compact 5 megapixels digital ca... Olympus D-535 Zoom / C370 Zoom Digital Camera The Olympus D-535 Zoom / C370 Zoom Digital Camera is a sophisticated l...