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-20714014");
$keywords="Coby CX-CD565 Personal CD Player";
$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;
?>
Coby CX-CD565 Personal CD Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Fred Fredricks Newbie Product Reviewer:
The Coby CX-CD565 Personal CD Player Features: "All Weather" splash-resistant durable design, 40-second anti-skip memory, Programmable track memory,Digital 6-digit LCD display and four Play modes, Skip, Search, Play, Pause, Hold, Repeat 1, Repeat All, Random & Intro. Good features overall, more than enough for the average person. “ This is an excellent cd player, especially for the price “. “ Comes highly recommended by many other who have tried this great player “.
|
Pros: Many features, good sound. |
Cons: No problems so far. |
Coby CX-CD565 Personal CD PlayerNewbie Rating
2 Thumbs UpReviews similar to our Coby CX-CD565 Personal CD Player Review:
Panasonic SL-SV570 Personal CD Player The Panasonic SL-SV570 Personal CD Player includes: Plays standard CD,... Philips eXpanium EXP401 Personal CD Player The Philips eXpanium EXP401 Personal CD Player has controls for disabl... RCA RP2520 Personal CD Player The RCA RP2520 Personal CD Player Features: MP3 Playback with espXtrem... Coby CX-CD540 Personal CD Player The Coby CX-CD540 Personal CD Player features: Slim compact design, Pr...