Nikhil Jain wrote: > I know how to use classes and objects in PhP, but it has always been > difficult for me to figure out how should I use php Objects with database > like mysql. > > Specially loading and saving data when there are one-one or one-many > relationship. > > Can someone guide me with books/blogs where I can get the better idea in > this regard? IMHO you should have a look at Martin Fowler's bliki[1] and especially his book "Patterns of Enterprise Application Architecture"[2]. You wont find any examples in PHP, but it's nonetheless a very good introduction on the topic. [1] <http://martinfowler.com/tags/database.html> [2] <http://martinfowler.com/books/eaa.html> -- Christoph M. Becker -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php