Destination-USA Home
';
}else{ // Amazon function returned XML data
if($d_ar[$i_ar['ErrorMsg'][0]]['type']=='open' || $d_ar[$i_ar['ErrorMsg'][0]]['type']=='complete'){ // no results were found from the search
echo 'Sorry, no results were found.
';
}else{ // results were found, so display the products
// --- Display the product data returned from the XML ---
/**
* Loop through the
tag.
* Assign each piece of data you want to use on your template to a variable, and then
* echo that variable to display it on your site.
*/
for($i=0; $i
=$ProductName?>

Written by:
' .$auth. ' ';
} ?>
Availability: =$Availability?>
List Price: =$ListPrice?>
Our Price: =$OurPrice?>
Average Customer Rating: =$AvgCustomerRating?> out of 5
Description:
=$ProductDescription?>
Publisher: =$Manufacturer?>
Release Date: =$ReleaseDate?>
Spotlight customer reviews:
Customer Rating: ' .$Rating[$m]. '
';
echo 'Summary: ' .$Summary[$m]. '
';
echo 'Comment: ' .$Comment[$m]. '
';
} ?>
[Back to Previous Page]