From: "Dan Joseph" <[EMAIL PROTECTED]> > > Of course, this begs the question of why you're re-implementing what > > has been done so many times in the past. > > > > http://pear.php.net/package/DB > > http://pear.php.net/package/MDB > > http://pear.php.net/package/MDB2 > > http://adodb.sourceforge.net/ > > http://www.phpclasses.org/browse/package/20.html > > I'm building a class for use with our PHP applications. Packages > like what you've linked me to are nice, but we need a little flexibility > here, so we're writing a few methods of our own.
So have your class extend one of these and only rewrite what they do not implement. That's one of the big ideas behind OO programming. The procedure your original question was about is already implemented in ADOdb, for example: http://phplens.com/lens/adodb/docs-adodb.htm#getall ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php