PDA

View Full Version : shopping cart tutorial problem


mr_badger
06-30-2007, 02:17 PM
I bought a book called 'creating interactive websites with php and web services' and it has a shopping cart tutorial which I have completed but when testing it says it can't find the shopping cart class.

I have downloaded the source code and it matches what I have done so I'm wondering if anyone else has this book and has the cart working fine or if they have any advice on how to get it working?

davidj
06-30-2007, 03:01 PM
its a problem with the class or your syntax. The book should have a supporting process inplace. I advise you email the author

cocoonfx
06-30-2007, 03:20 PM
I often find books are out of date or there are typo's. I have a book on PHP MySQL and Apache an none of the code works properly in the examples.

Forums in my personal view is the best way forward for learning.

domedia
06-30-2007, 05:16 PM
Many times you will find updates to code examples for a book on the book's website. I think it's actually quite uncommon for a programming book not to have errors in it.