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-22471268");
$keywords="Emerson SpongeBob 261 Radio/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;
?>
Emerson SpongeBob 261 Radio/CD Boombox $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Ryan "The Irishman" Weir Newbie Product Reviewer:
Listening to your favorite music is fun with SpongeBob SquarePants Portable CD Player. This is a top-loading single disc CD player that measures 14 inch x 5.5 inch x 9 inch with 2 undetachable speakers. It offers programmable memory/LCD tracking number display, repeat playback with analog tuner and more. This does not come with MP3 and Tape Deck but a t the right price you can get the best deals online.
Pros: Low-price, size |
Cons: No MP3, no tape deck, Not a detachable speaker |
Emerson SpongeBob 261 Radio/CD BoomboxNewbie Rating
2 Thumbs UpReviews similar to our Emerson SpongeBob 261 Radio/CD Boombox Review:
Sony CFD-F10 Radio/Cassette/CD Boombox The Sony CFD-F10 CD is a single disc/single tape with 30 presets digi... Aiwa CSD-EL300 Radio/Cassette/CD Boombox The Aiwa CSD-EL300 a single front loading CD player and Single Tape de... Aiwa CSD-TD902 Radio/Cassette/CD Boombox The Aiwa CSD-TD902 is a combination of portable CD-radio-cassette boom... Philips AZ1325 Radio/CD Boombox The Philips AZ1325 is a portable single-disc boombox with intuitive 14...