Did you check $sth->errstr (or generally $DBI::errstr)? There's nothing in your example that checks for errors; do you use RaiseError?
(I think you needn't call finish() either there, btw, since $sth goes out of scope at the end of the loop anyway, but that's beside the question of course.)Makeshifts last the longest.
In reply to Re: Getting a list of columns from a MySQL Table
by Aristotle
in thread Getting a list of columns from a MySQL Table
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |