Quote:
Originally posted by pexeter
Thanks to both of you for your help. I finaly got it to work. I just find it weird that code taken from the cd that accompanied the book would be wrong. Thanks again.
|
Very good. I wouldn't necessarily say that the book or the code that accompanied the book is 'wrong', it's just a little outdated. I've responded to many questions along these same lines due to two main factors: the usage of global variables and the usage of superglobals, which are related for the most part and which have become a big factor since PHP v4.2. So some changes were made, and instantly every PHP book on the market is outdated. Most books now have been re-released with the new information, however.