0
How can I receive in a function of another page the form name or Submit sent through POST?
<form class="form-inline" name="indicador" method="post" action="funcoes/indicadores.php" >
<button type="submit" class="btn btn-theme" name="indicador">Atualizar</button>
</form>
The name="" that I will use will be dynamic, and when I receive the POST on the page functions/indicators.php I want to know what the name of the POST or SUBMIT...
in your example the form and the button has the same
name, you can better describe which problem? Edit the question and add more details– Pedro Sanção