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-25784628");
$keywords="Pentax Optio 60 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;
?>
Pentax Optio 60 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Pentax Optio 60 Digital Camera offers 6.0 megapixel resolution and a 3X zoom lens in a compact, lightweight, good looking camera. This camera has a good resolution and a long battery life. Features a 6.0-megapixel CCD. It captures enough detail for photo-quality 14 x 19-inch prints. Also has a 3x optical zoom; 2.0-inch LCD display. Has an aperture and shutter priority modes Optical and actual-image zoom viewfinder with automatic diopter adjustment. Stores images on SD cards and is powered by AA-size batteries. “ This camera is easy to understand and easy to use and is ready to use right out of the box.” Also has nine image magnification, 4x playback menu, slide show, quality change, image copy erase and image protect modes and an all USB and AV output. “ Wow what a bargain without loosing quality!”
Pros: Very compact, good image quality and a good battery life. |
Cons: None for the price. |
Pentax Optio 60 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Pentax Optio 60 Digital Camera Review:
Pentax Optio E10 Digital Camera The Pentax Optio E10 Digital Camera has a 3X optical zoom lens that ta... Canon PowerShot SD400 / IXUS 50 Digital Camera With the Canon PowerShot SD400 / IXUS 50 Digital Camera it is easier t... Fuji FinePix A200 Digital Camera The Fuji FinePix A200 is a 2 megapixel CCD sensor digital camera that... Nikon Coolpix 4600 Digital Camera The Nikon Coolpix 4600 Digital Camera's features are very good and eas...