Form data submission problem

This doesn’t seem to apply here, as the data are just inserted into a database.

@Washimul can you format your code properly (the first part isn’t formatted well and it’s hard to read) and show what the error you’re getting is?

If it’s a 500 error, this article may help (to see why you’re getting a 500 error):