in reply to I still haven't found any solution to DBD::mysql::st fetchrow_array failed: fetch() without execute()
Make your life easier with:
my $stmt="SELECT distinct name FROM storeCategories"; my $names = $dbh->selectrow_hashref($stmt, undef, $id);
and get a nice human readable hash. Required reading.
|
|---|