I think I found your problem.
sub switch_to_comments_trailreviews {
#-----------------------------------------------------
$cols = 'trailcommentID,trailcommentName,trailcommentEmail,...';
@db_cols = split /,/,$cols;
$db_file_name = $db_script_path . "/data/comments_bikereviews.db";
$db_key_pos = 0;
$db_validated_field = 'trailcommentValidated';
}
JPD
http://www.jpdeni.com/dbman/
Code:
sub switch_to_comments_trailreviews {
#-----------------------------------------------------
$cols = 'trailcommentID,trailcommentName,trailcommentEmail,...';
@db_cols = split /,/,$cols;
$db_file_name = $db_script_path . "/data/comments_bikereviews.db";
$db_key_pos = 0;
$db_validated_field = 'trailcommentValidated';
}
http://www.jpdeni.com/dbman/