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-20236768");
$keywords="Hewlett Packard PhotoSmart 812 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;
?>
Hewlett Packard PhotoSmart 812 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Hewlett Packard PhotoSmart 812 is a 4 megapixel digital camera that delivers quality images up to 2384 x 1734 pixel or can be printed and enlarged up to 11 x 17 inches. This compact and versatile camera performs well so that its easy to share and print photos in a snap. It features a 3x optical zoom (37-111mm) /7x digital zoom, MPEG Movie, built-in flash with 3 operating modes, SD Card, 1.5-inch LCD, USB connectivities and powered 2 x AA Batteries. This camera is perfect for all-around use by beginners and amateurs.” If you like sharp pictures, with ability to zoom in and enlarge, this camera is performer “.
Pros: Features, lightweight, quality, ease of use, comfort |
Cons: Battery, pricey |
Hewlett Packard PhotoSmart 812 Digital CameraNewbie Rating
1 Thumbs UpReviews similar to our Hewlett Packard PhotoSmart 812 Digital Camera Review:
Gateway DC-T50 Digital Camera The Gateway DC-T50 is a 5 megapixel CCD sensor that captures up to 2... Sony Cyber-Shot DSC-L1 Digital Camera The Sony Cyber-Shot DSC-L1 Digital Camera features: 4.1-megapixel CCD ... Nikon Coolpix 4800 Digital Camera The Nikon Coolpix 4800 Digital Camera features: 15 Scene Modes which a... Aiptek PocketCam X Digital Camera The Aiptek PocketCam X is a 3 megapixel CCD sensor digital camera capa...