There is a form with a field for text and input:
<form action="?????" method="POST"> <textarea>Заметка</textarea> <input class="inp1" type="button" name="sen_report" value="Добавить заметку"> </form> I need to, when I press the buttons, the data immediately fly into MySQL, but how to do it? if you specify the processing file in the action, the user will not be transferred to him at first, even if there is a redirection to the header