Either use fetchrow_hashref, or use $sth->{NAME} (or NAME_lc or NAME_uc).

See the DBI perldocs.

-----Original Message-----
From: traja [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 3:16 PM
To: [EMAIL PROTECTED]
Subject: select column headers


How do I get the headers (column names) when I do a select thro' DBI.
fetchrow will fetch only the data. I need to display the headers as
well.

Thanks for any help.

Reply via email to