Is there any way -- using either MySQL directly, or (ideally) using the DBI 
perl module -- to get a list of fields from a (possibly empty) table?  (If 
the table is nonempty, you can just use a perl function to get the first 
record, and then apply keys() to the returned reference to get the field 
names.)

I'm sure it's a trivial question, but I can't find the answer anywhere in 
the tutorial at http://www.mysql.com/doc/

        -Bennett

[EMAIL PROTECTED]     http://www.peacefire.org
(425) 649 9024


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to