# # Syntax is off I know, but I want to make the point # and allow the creator to find correct syntax as an # exercise # $query = 'SELECT * from $table'; $ret = $dbh->execute($query); for ( fetchrow($ret) ) { print "$_\n"; }