@TE, do you think it's possible to make a version that ignores any missing input fields from the database?

mhh, that's getting complicated ..

Would require a "SHOW COLUMNS FROM `table`" for each and every table + related code & error handling in order to compare the existing fields with the query.I feel it might be "overkill" for a rare case.