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-22152663");
$keywords="Supersonic SC-714 Radio/Cassette/CD 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;
?>
Supersonic SC-714 Radio/Cassette/CD Boombox $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Ryan "The Irishman" Weir Newbie Product Reviewer:
The Supersonic SC-714 is a top loading programmable CD player and single cassette player/recorder with AM/FM stereo radio. It features LCD display or track indicator Bass Boost System, Bass Boost System, built-in microphone and DBBS, records from CD player or AM/FM broadcasts, 2 built-in speakers on the left and on the right, and powered by 8 C batteries or AC .
Pros: Stylish, portable |
Cons: Limited features |
Supersonic SC-714 Radio/Cassette/CD BoomboxNewbie Rating
1 Thumbs UpReviews similar to our Supersonic SC-714 Radio/Cassette/CD Boombox Review:
Philips AZ1305 Radio/CD Boombox The Philips AZ1305 is a single disc CD/radio boombox that lets you enj... Jensen MCP-150 Radio/Cassette Boombox The Jensen MCP-150 is a portable cassette player with analog FM/AM ra... JVC RC-ST2 Radio/Cassette/CD Boombox The JVC RC-ST2 is compact sleek single disc/single tape cassette rec... Emerson SpongeBob 261 Radio/CD Boombox Listening to your favorite music is fun with SpongeBob SquarePants Por...