Posts by Diego Massaneiro • 1 point
1 post
-
0
votes2
answers267
viewsA: send array to database via php
Try this way with foreach: <?php if(isset($_POST['btn-cadastrar'])){ $dados = filter_input_array(INPUT_POST); $count= 0; foreach($dados['nomeFicha'] as $ficha){ $nomeFicha = $ficha;…