Generate error messages under each action
Use $page['db_result'] when inserting new metric