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-21497492");
$keywords="Emerson PD6870RD 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;
?>
Emerson PD6870RD Radio/Cassette/CD Boombox $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Ryan "The Irishman" Weir Newbie Product Reviewer:
The Emerson PD6870RD is a single Disc CD player and S ingle Tape cassette recorder with Digital AM/FM tuner. It features an LCD panel that shows all CD and tuner functions, automatic station scanning, 90-minute sleep timer, 24-hour wake timer and wide range 3-inch speakers. This portable machine has 20-track programmable CD memory, built-in AM antenna and telescoping FM antenna and operates on AC power or 8 "C" batteries (not included).
Pros: Features, portability |
Cons: Cd player skips, tuner glitch |
Emerson PD6870RD Radio/Cassette/CD BoomboxNewbie Rating
1 Thumbs UpReviews similar to our Emerson PD6870RD Radio/Cassette/CD Boombox Review:
Sony ICF-CD832 Radio/CD Boombox The Sony ICF-CD832 is a single disc cd player with sleek round design ... Sony CFD-S200 Radio/Cassette/CD Boombox The CFD-S200 CD/Radio Cassette Recorder is a portable entertainment mu... Philips AZ1325 Radio/CD Boombox The Philips AZ1325 is a portable single-disc boombox with intuitive 14... Coby CX-CD237 Radio/CD Boombox The Coby CX-CD237 is a Single Disc AM/FM Radio CD/ Boombox with sleek ...