I have a form where the user types which equipment he wants to consult and AFTER to click confirm, need the fields with the information to appear. These fields are in another PHP file that will make the selects based on the data selected in the form. Using hidden does not meet what I'm needing
<form method="post" action="test.php">
<label style="margin-top: 5px;">
<span style="margin-right: 18px;">Equipamento:</span>
<input type="text" name="equipamento" id="equipamento" size="12" style="margin-top: 5px;" autofocus required>
</label>
<input style="margin-left: 20px;" type="submit" name="submit" value="Confirmar">
</form>
<br>
<div> <?php require_once("test.php"); ?> </div>
The data needs to appear within the above DIV.