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-23671900");
$keywords="Panasonic Lumix® DMC-LZ2 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;
?>
Panasonic Lumix® DMC-LZ2 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
Panasonic Lumix® DMC-LZ2 Digital Camera is a great camera, works very well. The DMC-LZ2 is a very versatile 5-Megapixel optically stabilized camera with 6x optical zoom. This iis perfect for just about everyone. This means you can make 4" x 6" prints or enlarge your pictures to sizes as big as 11" x 17". “ Is this not great or what?” Modes include portrait, night portrait, sports, landscape, night landscape, moving image, and more. You can also record video clips directly to your memory card and it has a built-in microphone. Some of the features include: 6x optical zoom, image stabilizer, sharp clear images, compact size, excellent battery life, 2inch LCD, SD media and more. “ I recommend this camera greatly!”
Pros: It's compact, image stabilization, speed, image quality, battery life |
Cons: It has lack of manual controls, no viewfinder. |
Panasonic Lumix® DMC-LZ2 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Panasonic Lumix® DMC-LZ2 Digital Camera Review:
Sony Cyber-Shot DSC-T1 Digital Camera The Sony Cyber-Shot DSC-T1 Digital Camera is a dependable and good loo... Aiptek PocketCam DV4500 Digital Camera The Aiptek PocketCam DV4500 is a 2 megapixels digital camera that deli... Canon EOS-5D Digital Camera The Canon EOS-5D Digital Camera uses a full-frame 12.8MP CMOS imaging ... SeaLife Reefmaster DC300 Digital Camera The SeaLife Reefmaster DC300 is a 3 megapixels digital camera with qua...