On Tue, October 10, 2006 6:14 pm, Chris de Vidal wrote: > I want to create a "customer" class which fetches its attributes from > a MySQL database. No, you don't. :-) This is a classic example of the "obvious" OOP solution being wildly inappropriate. The sad thing is, there are a zillion applications out there doing it just this way... :-( Start thinking more in terms of what you want the whole application to do, and build classes that do THAT, rather then starting with a single customer and their info. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php