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-21264372");
$keywords="Sony ZS-D10 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;
?>
Sony ZS-D10 Radio/CD Boombox $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Ryan "The Irishman" Weir Newbie Product Reviewer:
The Sony ZS-D10 is a sleek and ultra-modern Single Disc CD player with FM/AM radio with digital tuner and 30 presets. It has a unique vertical loading CD player and you will enjoy your favorite music in this high tech gadget design. The player will reads CDs including the recorded CD-R/RW discs. It comes with full function remote control, rich bass sound with passive and sub-speakers, headphone socket and weighs lighter than others.
Pros: Features, style, lightweight, portable |
Cons: No casette tape deck |
Sony ZS-D10 Radio/CD BoomboxNewbie Rating
2 Thumbs UpReviews similar to our Sony ZS-D10 Radio/CD Boombox Review:
Sharp QT-V5 Radio/CD Boombox The Sharp QT-V5 is a portable and compact combination DVD player and C... Emerson PD6870RD Radio/Cassette/CD Boombox The Emerson PD6870RD is a single Disc CD player and S ingle Tape cass... Jwin JX-CD404 CD Boombox The Jwin JX-CD404 CD Boombox is a Single Disc top loading CD with AM/F... Philips AZ1305 Radio/CD Boombox The Philips AZ1305 is a single disc CD/radio boombox that lets you enj...