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-22281643");
$keywords="Jensen MCP-150 Radio/Cassette Boombox";
$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;
?>
Jensen MCP-150 Radio/Cassette Boombox $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Ryan "The Irishman" Weir Newbie Product Reviewer:
The Jensen MCP-150 is a portable cassette player with analog FM/AM radio tuner that delivers mono sound to a single speaker. This compact unit is nice to bring along with anywhere so you wont miss your favorite sound. Features include a rotary built-in AM antenna and telescopic FM antenna, auto stop, and a headphone jack for your personal listening and powered by 4 D-cell batteries or AC.
Pros: Great sound at a very low price |
Cons: Limited features |
Jensen MCP-150 Radio/Cassette BoomboxNewbie Rating
2 Thumbs UpReviews similar to our Jensen MCP-150 Radio/Cassette Boombox Review:
Coby CX-CD400 Radio/Cassette/CD Boombox The Coby CXCD400 is single CD/Stereo Cassette Player/Recorder With AM/... Sony S2 Sports ZS-X1 Radio/CD Boombox The Sony S2 Sports ZS-X1 is a Single disc and radio boombox with MP3 p... JVC RC-ST2 Radio/Cassette/CD Boombox The JVC RC-ST2 is compact sleek single disc/single tape cassette rec... Philips AZ1030 Radio/Cassette/CD Boombox The Philips AZ103017 is a combination of CD player cassette recorder ...