RE: [PEAR] PHP Pear DB

From: Date: Thu, 31 Jul 2008 13:03:13 +0000
Subject: RE: [PEAR] PHP Pear DB
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29111@lists.php.net to get a copy of this message
Hi, Even better: $db->tableInfo('tablename'); http://pear.php.net/manual/en/package.database.db.db-common.tableinfo.php Regards, Bert Brunekreeft -----Oorspronkelijk bericht----- Van: Christian Weiske [mailto:cweiske@cweiske.de] Verzonden: donderdag 31 juli 2008 14:03 Aan: pear-general@lists.php.net Onderwerp: Re: [PEAR] PHP Pear DB Hello Lira, > Is there a method available in the class to list the fields/columns of a > given database table? > I'm not seeing any unique class for that in the documentation. It seems DB supports that: $db->getListOf('tables'); -- Regards/Mit freundlichen Grüßen Christian Weiske -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#29111) next »