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-26223");
$keywords="Whistler DE-1730 Radar Detector";
$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;
?>
Whistler DE-1730 Radar Detector $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Lil Sis Newbie Product Reviewer:
Wow!! You'll be blown away by the very very low price on this model. But, don't be fooled - you'll like the performance just as much. You don't lose out on nice extras you find in higher priced models like front & rear detection, mute mode, highway and city modes or combo audio/visual alerts. Overall, it's easy to use, durable and effective. What more could you want?
Pros: loud, sensitive, affordable |
Cons: some false alerts |
Whistler DE-1730 Radar DetectorNewbie Rating
1 Thumbs UpReviews similar to our Whistler DE-1730 Radar Detector Review:
Whistler DE-1770 Radar Detector Don't be plagued by unnecessary worries or concerns o long commutes…in... Beltronics Pro RX75 Radar Detector For superb sensitivity, this is your detector. It's right on and prec... Sensoro Traveller II Radar Detector This is a good, mid-range price detector that will have you commuting ... Beltronics Express 935 Radar Detector This is a great radar detector for the price. The alerts are loud eno...