4
I have a page in html and php and put a form at the bottom of the page.
When I click on the "send" button the page refreshes and goes up.
This way the user has to scroll all the time until arriving downstairs again to see if the data has been registered, if there is an error message ...
<form id="formulario" name="login" method="POST"
action="<?php echo $_SERVER["REQUEST_URI"];?>">
In the action I tried "PHP_SELF' too.
The structure is html, body and a div, the form is inside the div.
Can show the
action
of form and the basic structure of HTML?– brasofilo
It is possible to use a
fragment
or do you have any requirements that you don’t? In my view, this is one of his duties.– Vinícius Gobbo A. de Oliveira
@brasofilo add ai in question
– I Wanna Know
@Viníciusgobboa.deOliveira I’m not used to using Ragment, do you think this can solve it? Then I’ll research.
– I Wanna Know