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-22773762");
$keywords="Canon EOS Rebel T2 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 T2 QD 35mm SLR Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Shaniqua Newbie Product Reviewer:
The Canon EOS Rebel T2 Q is a 35 mm SLR camera that offers all the advanced features in its class. These powerful features include expanded shooting modes and state-of-the-art E-TTL II auto flash, 7-point High-Speed, Wide-Area Selectable AF with Advanced 35-zone Metering, large backlit LCD screen, compatible with Canon EF lenses, safety shutter release lock and camera shake warning, enhanced Built-in Flash, and more. This lightweight and ergonomically designed camera is user friendly and compatible with most EOS system accessories.
|
Pros: Features, compatibility, easy to use, ergonomic |
Cons: Slow and noisy motor |
Canon EOS Rebel T2 QD 35mm SLR CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon EOS Rebel T2 QD 35mm SLR Camera Review:
Nikon N55 35mm SLR Camera The Nikon N55 is a 35mm SLR single lens reflex camera with interchange... Canon EOS-30 35mm SLR Camera The Canon EOS 30 SLR camera has been designed for ease of use and idea... Canon EOS Elan 7ne 35mm SLR Camera The Canon EOS Elan 7ne is a new breed of the latest generation of Cano... Pentax MZ-50 35mm SLR Camera The ZX-50 35 mm SLR camera is a good choice for those who are learning...