my $sth = $dbh->prepare ($stmt) or die "Error Preparing:\n" . $stmt . "\nDBI returned: \n", $dbh->errstr; $value = $sth->execute ($password, $pin, $position, $forename, $lastname, $business, $address1, $address2, $city, $state, $zip, $email, $phone_home, $phone_cell, $MJ, $MD, $DD, $DP, $comments) or die "Unable to execute query: " . $sth->errstr; my $new_id = $sth->{'mysql_insertid'};