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-30041977");
$keywords="Nikon COOLPIX L2 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 L2 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Nikon COOLPIX L2 Digital Camera has several great features that I have enjoyed useing. Some of these great features are: 6.0 Megapixels with 3x Optical Zoom-Nikkor Glass Lens for stunning pictures with regular print sizes. Big, bright 2-inch LCD for easy viewing and sharing of pictures. Has a 15 scene modes that makes taking great pictures easy. Nikon Exclusive Feature System which includes: In-Camera Red-Eye Fix to automatically remove most instances of red eye in the camera. D-Lighting lightens dark pictures in-camera for great prints right out of the camera. And operates with two AA-type batteries, you can get up to 180 pictures USB and PictBridge Compatible so you can send emails, print photos and so much more. “ My friend May told me about this camera. She said you ought to give this a try, it works great. Guess what she was right. I love it!”
Pros: I like everything. |
Cons: None |
Nikon COOLPIX L2 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Nikon COOLPIX L2 Digital Camera Review:
Kodak EasyShare Z700 Digital Camera The Kodak EasyShare Z700 Digital Camera includes many of the features ... Panasonic Lumix® DMC-FX8K Digital Camera The Panasonic Lumix® DMC-FX8K Digital Camera has a optical image stabi... Nikon Coolpix 880 Digital Camera The Nikon Coolpix 8800 is a 3 megapixel CCD for quality images up to 2... Nikon Coolpix 3700 Digital Camera The Nikon Coolpix 3700 is a 3 megapixel digital camera in an ultra th...