Skip to Content
PHP and MySQL® Web Development, Fourth Edition
book

PHP and MySQL® Web Development, Fourth Edition

by Luke Welling, Laura Thomson
October 2008
Intermediate to advanced content levelIntermediate to advanced
1008 pages
23h 16m
English
Addison-Wesley Professional
Content preview from PHP and MySQL® Web Development, Fourth Edition

28 Building a Shopping Cart

IN THIS CHAPTER, YOU LEARN HOW TO BUILD a basic shopping cart. You add this on top of the Book-O-Rama database implemented in Part II, “Using MySQL.” You also explore another option: setting up and using an existing open source PHP shopping cart.

In case you have not heard it before, the term shopping cart (sometimes also called a shopping basket) is used to describe a specific online shopping mechanism. As you browse an online catalog, you can add items to your shopping cart. After you’ve finished browsing, you check out of the online store—that is, purchase the items in your cart.

To implement the shopping cart for this project, you need to implement the following functionality:

  A database of the products you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP and MySQL® Web Development, Fifth Edition

PHP and MySQL® Web Development, Fifth Edition

Luke Welling, Laura Thomson
PHP for Absolute Beginners

PHP for Absolute Beginners

Thomas Blom Hansen, Jason Lengstorf

Publisher Resources

ISBN: 9780672329166Purchase book