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-28153875");
$keywords="Philips GoGear HDD6330 (30 GB) MP3 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;
?>
Philips GoGear HDD6330 (30 GB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Philips GoGear HDD6330 (30 GB) MP3 Player features: 30GB memory that lets you store 7,500 songs* or thousands of photos. Touch-sensitive keys for intuitive control and SuperScroll™ navigation to find songs fast. You can even enjoy MP3 and WMA music as well as radio through the FM tuner and has a large backlit color display for comfortable viewing anywhere. The Philips Digital Audio Player has a built-in FM tuner, so if you get tired of your stored music you can tune in to your favorite stations. You can move through the playlist one song at a time or press and hold to move much more quickly and you can even edit and more. “ This mp3 player is great, it's as sturdy as can be. I recommend it for performance and quality.”
Pros: Great features, color display, plenty of space, records very well and more. |
Cons: None |
Philips GoGear HDD6330 (30 GB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Philips GoGear HDD6330 (30 GB) MP3 Player Review:
Creative Labs Zen MicroPhoto (8 GB) white MP3 Player The Creative Labs Zen MicroPhoto (8 GB) white MP3 Player has 8GB capac... Sony Network Walkman NW-E507 (1 GB) MP3 Player The Sony Network Walkman NW-E507 (1 GB) MP3 Player includes a software... Apple iPod mini Blue Second Gen. (4 GB - M9802LL/A) MP3 Player The Apple iPod mini Blue Second Gen. (4 GB - M9802LL/A) MP3 Player com... Apple iPod mini Blue Second Gen. (4 GB - M9802LL/A) MP3 Player The Apple iPod mini Blue Second Gen. (4 GB - M9802LL/A) MP3 Player com...