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-20685290");
$keywords="Nikon Coolpix 3100 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 3100 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Nikon Coolpix 3100 is a 3 megapixels digital camera is a good starter camera with lots of features in a very small, plastic body. It delivers quality images up to 2048 x 1536 pixels. Features include 3x (38-115mm/4x digital zoom lens, capable of recording short MOV video clips at 15 fps for 40 seconds, exposure control speeds at 2 fps, CompactFlash Card Type I media, Built-in flash with five operating modes, 1.5 - inch 110,000 pixels LCD panel with optical viewfinder, USB connectivities and by 2 x AA Batteries or a Proprietary Lithium. At a budget price, you will get to know about photographic techniques.
Pros: Compact size, zoom, sharp pictures, price, ergonomic |
Cons: Drains batteries fast, shutter lag time. |
Nikon Coolpix 3100 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Nikon Coolpix 3100 Digital Camera Review:
Pentax Optio 33WR Digital Camera The Pentax Optio 33WR is a 3 megapixels digital camera offers a broad ... Sony Cyber-Shot DSC-P73 Digital Camera The Sony Cyber-Shot DSC-P73 is a 4.1 Megapixel digital camera is packe... Nikon Coolpix 5200 Digital Camera The Nikon Coolpix 5200 is a 5.1 megapixel digital camera which is ultr... Sony Cyber-Shot DSC-S40 Digital Camera The Sony Cyber-Shot DSC-S40 Digital Camera has good features and perfo...