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-21890672");
$keywords="Garmin GPSMAP 172C GPS Receiver";
$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;
?>
Garmin GPSMAP 172C GPS Receiver $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Sherry Kramer Newbie Product Reviewer:
The Garmin GPSMAP 172C GPS Receiver is loaded with an internal worldwide marine base map. Features 3000 user way points, 50 reversible routes, audible alarms, and built-in tables for sun and moon calculations. Plus the handy mount provides for tilt, swivel, and quick removal. Comes with power/data cable, internal quad-helix antenna, and unit cover. It has a 256-color LCD screen that boasts 320 x 320 resolution; 10,000-point automatic track log with 15 saved tracks. “ It's this a great receiver, I love it and recommend it!” This is great for boater and packs a built-in worldwide marine base map, state-of-the-art processor with lightening-fast map redraw, and crisp, sunlight readable, 10-level gray scale display into a waterproof, space-saving console and more. “ I'm out on the boat a lot and this 172C GPS has run flawlessly all summer and I am confident that it will work very nicely for a long time. I highly recommend it.”
Pros: Features and easy to use. |
Cons: Expensive |
Garmin GPSMAP 172C GPS ReceiverNewbie Rating
2 Thumbs UpReviews similar to our Garmin GPSMAP 172C GPS Receiver Review:
Lowrance iWAY 500C GPS Receiver The Lowrance iWAY 500C GPS Receiver plays MP3 audio files from an MMC/... Garmin StreetPilot c340 GPS Receiver The Garmin StreetPilot c340 GPS Receiver comes preloaded with highly d... Magellan RoadMate 700 GPS Receiver The Magellan RoadMate 700 GPS Receiver is ultra portable. You can easi... Garmin nüvi 350 GPS Receiver The Garmin nüvi 350 GPS Receiver includes Language Guide, MP3 player, ...