adrianh's suggestion is fine. I'll just add that you also have the option to use fetchrow_hashref instead of fetchrow_array: this method returns a refernece to an hash which keys are the field names and values the field values for that row.
Michele.
In reply to Re: Field names from DBI?
by arthas
in thread Field names from DBI?
by Massyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |