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-Pentax_ZX-5_35mm_SLR_Camera");
$keywords="Pentax ZX-5 35mm SLR Camera";
$mode="photo";
$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 ZX-5 35mm SLR Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Shaniqua Newbie Product Reviewer:
The Pentax ZX-5 35mm is a great and versatile SLR camera for creative picture taking. This is easy to use with neat, compact body that is good for movie users. It features superior 6-segment metering, center-weighted metering, easy-to-read LCD panel and
|
Pros: Features, compact, value |
Cons: slow in auto focus, noisy and lens |
Pentax ZX-5 35mm SLR CameraNewbie Rating
2 Thumbs UpReviews similar to our Pentax ZX-5 35mm SLR Camera Review:
Minolta Maxxum 50 QD 35mm SLR Camera The Minolta Maxxum 50 is a 35mm SLR Camera that can capture all the sp... Nikon N80 35mm SLR Camera The Nikon's N80 is a compact and sophisticated 35mm SLR Camera equippe... Minolta Maxxum 3 QD 35mm SLR Camera The Minolta Maxxum 3 QD is a 35mm SLR Camera that offers tons of optio... Olympus IS-20 DLX QD 35mm SLR Camera The Olympus IS-20 DLX QDis a 35 mm SLR camera that delivers outstandi...