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-22550429");
$keywords="The Sims 2 DVD Edition for Windows";
$mode="videogames";
$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;
?>
The Sims 2 DVD Edition for Windows $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Frank Newbie Product Reviewer:
The The Sims 2 DVD Edition for Windows is rated T for teens - Violence and Crude Humor. Features: Sequel to the hit lifestyle simulation,Manage your Sim's dreams and fears over a lifetime. Mix Sim genes and see physical and personality traits inherited down through Sim generations, Movie-making feature lets you control the camera and capture the action into mini movies. “ Control the lives of little people just for the fun of it”.
|
Pros: Infinitely better than the original, excellent gameplay, great design. |
Cons: Some things are missing. Few glitches in the game. |
The Sims 2 DVD Edition for WindowsNewbie Rating
2 Thumbs UpReviews similar to our The Sims 2 DVD Edition for Windows Review:
Half-Life 2 for Windows The Half-Life 2 for Windows is rated M for mature - Blood and Intense ... Warcraft III: Reign of Chaos for Windows, Mac The Warcraft III: Reign of Chaos for Windows, Mac is rated T for teens... Half-Life: Game of the Year Edition for Windows The Half-Life: Game of the Year Edition for Windows is rated M for mat... Risk for Windows The Risk for Windows is rated E for everyone - Animated Violence. This...