in reply to DBI Insert

Yes, $dbh is not defined