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-21178156");
$keywords="Pyle PLA2380 Car Audio Amplifier";
$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;
?>
Pyle PLA2380 Car Audio Amplifier $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Sean Newbie Product Reviewer:
The Pyle PLA2380 Car Audio Amplifier Features: 500 watts x 2 output, 1000 watts x 1 bridged, Variable high/low electronic crossover network, Gold-plated RCA inputs. Also has Variable Input Level (Gain) Control Remote Turn On/Off Remote Control Bass Boost Gold Plated RCA Inputs High Level Molex and more. “ I love the style and features”.
Pros: Affordable and quality. |
Cons: None |
Pyle PLA2380 Car Audio AmplifierNewbie Rating
2 Thumbs UpReviews similar to our Pyle PLA2380 Car Audio Amplifier Review:
Pyle PLA485 Car Audio Amplifier The Pyle PLA485 Car Audio Amplifier features: 300W x 2 outputs or 600W... AudioBahn A1500HCT Car Audio Amplifier The AudioBahn A1500HCT Car Audio Amplifier features: 1 x 500 watts @ 4... Sony XM-2200GTX Car Audio Amplifier The Sony XM-2200GTX Car Audio Amplifier features: 200 watts RMS at 4 o... Kicker KX550.3 Car Audio Amplifier The Kicker KX550.3 Car Audio Amplifier features: 85 x 4 Watts/Channel ...