"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"
{/if} The code from the presentation object is pretty straightforward and should not be a problem for you. Summary Yep, it was that simple. Although you might want to add improvements for your own solution (for example, allow the visitors to edit their reviews, or forbid them from adding more reviews), the base is there, and it works as expected. You??™re now all set to proceed to the final chapter of this book, where we??™ll learn how to sell items to your customer from an outside source (we??™ve chosen Amazon.com) by using XML Web Services. CHAPTER 21 ?– PRODUCT REVIEWS 663 Using Amazon.com Web Services So far in this book, you??™ve learned how to integrate external functionality provided PayPal, DataCash, and Authorize.net to process payments from your customers. In this chapter, you??™ll learn new possibilities for integrating features from external sources through web services. Knowing how to interact with third-party web services can offer you an important advantage over your competitors. More specifically, in this chapter you will ??? Learn what web services are ??? Learn how to connect to the Amazon E-Commerce Service ??? Use the Amazon E-Commerce Service to sell Amazon t-shirts through TShirtShop For more information about accessing web services using PHP, we recommend you check out Pro PHP XML and Web Services (Robert Richards.