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-Canon_EOS_Rebel_2000_QD_35mm_SLR_Camera");
$keywords="Canon EOS Rebel 2000 QD 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;
?>
Canon EOS Rebel 2000 QD 35mm SLR Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Shaniqua Newbie Product Reviewer:
The EOS Rebel 2000 QD is a 35mm SLR camera, featuring variety of features in an elegant black exterior design. This sleek camera offers limitless creative control that photographers would love. Features include 7-point auto focus, 35-zone AE metering, built-in retractable flash and 11 versatile shooting modes and more. This is great to to tale vacation photos and ideal for casual or amateur photographers. It produces good pictures and easy to use. If you're an aspiring photographer or a hobbyist this camera gives you the freedom to experiment.
|
Pros: Easy to use, features |
Cons: none |
Canon EOS Rebel 2000 QD 35mm SLR CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon EOS Rebel 2000 QD 35mm SLR Camera Review:
Canon EOS Rebel 2000 QD 35mm SLR Camera The EOS Rebel 2000 QD is a 35mm SLR camera, featuring variety of featu... Fuji GA645Zi 35mm SLR Camera The Fuji GA645Zi 35mm SLR camera has a variety of outstanding features... Nikon F100 35mm SLR Camera The F100 35mm SLR Camera is a sophisticated F System camera by Nikon... Canon EOS-1V 35mm SLR Camera Canon EOS-1V 35mm SLR Camera...