I have a very strange problem here and I have no idea what to do, I'll try to explain.
- I have an online form in a loop of 39 reps
- When I submit this form to the list page to "listar.php" does not return the corresponding number that would be 39 lines
-
And the strangest of all when I pull out any input, the count is correct. seems something bound to the data limit in arry someone would know what should be this
form.php --------------------------------------------------------------------- Campo em loop de 39 linhas <form method="post" action="listar.php"> loop de 39 { <input type=\"date\" name=\"start[]\" value=\"$start1\" /> <input type=\"hidden\" name=\"direcao[]\" value=\"$dir\" /> <input type=\"hidden\" name=\"nome[]\" value=\"$nome1\" /> <input type=\"hidden\" name=\"grupo[]\" value=\"$grupo\" /> <input type=\"hidden\" name=\"foto[]\" value=\"$foto\" /> <input type=\"hidden\" name=\"categoria[]\" value=\"$cat2\" /> <input type=\"hidden\" name=\"cat3[]\" value=\"$nomecat\" /> <input type=\"hidden\" name=\"id_cotacao[]\" value=\"$id_cotacao1\" /> <input type=\"hidden\" name=\"vei[]\" value=\"$vei\" /> <input type=\"hidden\" name=\"extra[]\" value=\"$extra\" /> <input type=\"hidden\"name=\"id_transfer22[]\"value=\"$id_transfer22\"/> <input type=\"text\" name=\"nome[]\" value=\"$start2\" /> <input type=\"text\" name=\"end[]\" value=\"$start3\" /> <input type=\"text\" name=\"hora[]\" value=\"$start4\" /> <input type=\"text\" name=\"ori[]\" value=\"$start5\" /> <input type=\"text\" name=\"dest[]\" value=\"$start6\" /> <input type=\"text\" name=\"valor[]\" value=\"$start7\" /> <input type=\"text\" name=\"voo[]\" value=\"$start8\" /> }
listar.php------------------------------------------------------------------$u=1;if(isset($_POST['start'])){foreach($_POST['start']as$key=>$value){echo'<br>';echo$u++.'-';echo'-'.$nomesss=mysql_real_escape_string($_POST['nome'][$key]);//}}echo'<br><br>';?>
List.php