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-21850597");
$keywords="Coby CX-144 Radio/Cassette 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;
?>
Coby CX-144 Radio/Cassette Boombox $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Ryan "The Irishman" Weir Newbie Product Reviewer:
The Coby CX-144 is a single tape cassette recorder with AM/FM Radio that has everything you need to enjoy your favorite music. It comes with Analog Tuner, Automatic Level Control Recording (ALC), 2-Way Cassette Recording (Radio & Microphone), Wide Range Speaker System, One touch recording, soft eject cassette door, and Wide Range Speaker System, 3.5mm Headphone Jack and more.
Pros: Simple to operate, low p riced |
Cons: No CD player, limited features |
Coby CX-144 Radio/Cassette BoomboxNewbie Rating
1 Thumbs UpReviews similar to our Coby CX-144 Radio/Cassette Boombox Review:
Philips AZ1140 Radio/Cassette/CD Boombox The Philips AZ114017 is a Single CD / Single Tape and AM/FM stereo tu... Jensen KCS100 Cassette Boombox The Jensen KCS100 Cassette Boombox is a karaoke machine that plays mus... Panasonic RX-D20 Radio/Cassette/CD Boombox The Panasonic RX-D20 is a Single Disc boombox and Single Tape Deck rec... JVC PC-XC290 Radio/Cassette/CD Boombox The JVC PC-XC290 is a compact-portable boombox with single CD player, ...