How to save a copy of submission data to MySQL database?