"Tim Ward" <[EMAIL PROTECTED]> wrote:
> SHOW COLUMNS FROM tablename
> is the MySQL query

That works well from the MySQL commandline, but isn't as useful from within
a PHP script if Mauricio wants to control the formatting of it, limit the
fields displayed and use it within the logic of the PHP script.  Depends
what he needs to do.  I still think mysql_field_name() / pg_fieldname() are
the way to go, though Mauricio never mentioned which DBMS he's using.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to