in reply to DBI query where table name is a variable
Do you need to set the value of $table before the prepare statement?
non-Perl: Andy Ford