I have created a custom module and I have a custom phtml file with a form.
I have also created a new table for this module.
What I want to do is to insert the value of form in the DB But I actually don't know the flow for that.
What I mean is how can I send my form to a controller and then access the model to make operations?
Can anyone help my with an example how to do that?
Thank you in advance!