5
Programming for recording multiple data from the same type
or even class
within the database, I came across the need to verify that any of these inputs would not be empty at the time of insertion.
As is a form of registro de contatos
which contains 10 fields that will be inserted at each send, I need a function so that these fields are processed with 10 emails at a time, no more nor less.
<form role="form" id="form_cadastra" action="" method="post" enctype="application/x-www-form-urlencoded">
<div class="form-group">
<label for="exampleInputEmail1">E-mail 1</label>
<input type="email" value="" class="form-control" placeholder="Enter email">
</div>
{ ... }
<div class="col-xs-12 col-sm-12 col-md-12">
<button type="submit" class="btn btn-primary">Cadastrar</button>
</div>
</form>
simple and easy, sometimes we look for more complex things when the solution lies in the basic concepts of language. each is something that many know but few really use!!
– user30025