How to send submission data to MySQL database?