We don't bite newbies here... much | |
PerlMonks |
Re: Getting a list of columns from a MySQL Tableby mp (Deacon) |
on Jul 22, 2002 at 22:27 UTC ( [id://184261]=note: print w/replies, xml ) | Need Help?? |
Try using "DESCRIBE table" instead of "LISTFIELDS table".
This will give you column name, type, allownull, key, default, and extra. For more information on what you get, you may want to try the following inside your for loop:
In Section
Seekers of Perl Wisdom
|
|