I'm testing a form before putting it into production, because we already have a system that inserts the equity movement 1 to 1 and I'm trying to get the operator to do several at the same time, for example, will move 5 printers pro same place he does not have to do the process 5 times ...
thenitsayshowmanyproductswillmoveandclicksendandopensthedesirednumberofforms
Myquestionis:HowdoIdothatwhenheclicksthefirstrecordbuttonhedoestheupdateinthebankwithoutleavingthepageandifitdoesnotaskformuch,amessageappearsinsertedinthe'square'thatclickedtorecordbecausewhoisgoingtooperatethis,doesnothavemuchfacilitywithcomputers.Followthecode.
<?php$produtos=$_POST['produtos']?><?phpfor($i=0;$i<$produtos;$i++){#code...?><divclass="container">
<br>
<div class="row">
<div class="col-sm-9">
<form>
<div class="form-group">
<label for="exampleInputEmail1">Patrimonio</label>
<input name="data[PessoaEmail][0][email_tipo_id]" required="required" id="PessoaEmail0EmailTipoId" type="text" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Teste</label>
<input type="text" class="form-control" name="data[PessoaEmail][0][email_tipo_id]" required="required" id="PessoaEmail0EmailTipoId" placeholder="teste">
</div>
<button type="submit" class="btn btn-success btn-sm">Gravar</button>
</form>
</div>
<div class="col-sm-3">
</div>
</div>
<br>
</div>
<?php } ?>