in reply to Re: Perl-MySQL get column names
in thread Perl-MySQL get column names

Thanks, Aighearach!

$sth->fetchrow_hashref
doesn't seem to work because of UNION. I've tried it out but I don't seem to be able to get to the column names - I got choice1 as the column.