How to send submission data to my own database?