Questo è il codice Html che viene fuori...e dovrei controllare i campi imput...
Codice PHP:
<form id="ins_atleti" name="ins_atleti" method="post" onSubmit="return verifica(this);" action="#">
<input type="hidden" name="id_squadra" id="id_squadra" value="280"/>
<input type="hidden" name="nome_squadra" id="nome_squadra" value="Borgomagno"/>
<input type="hidden" name="telefono_squadra" id="telefono_squadra" value=""/>
<input type="hidden" name="email_squadra" id="email_squadra" value=""/>
<input type="hidden" name="web_squadra" id="web_squadra" value=""/>
<input type="hidden" name="componenti" id="componenti" value="4"/>
<table with="100%" cellspacing="20px"><tr><td><table><tr>
<td colspan="2" class="tag">Dati atleta 1</td>
</tr><tr>
<td width="45%" class="nomeclub">Nome</td>
<td><label for="nome"></label>
<input type="text" name="nome1" id="nome1" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Cognome</td>
<td><label for="cognome"></label>
<input type="text" name="cognome1" id="cognome1" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Telefono</td>
<td><label for="telefono"></label>
<input type="text" name="telefono1" id="telefono1" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Email</td>
<td><label for="email"></label>
<input type="text" name="email1" id="email1" /></td>
</tr></table></td><td><table><tr>
<td colspan="2" class="tag">Dati atleta 2</td>
</tr><tr>
<td width="45%" class="nomeclub">Nome</td>
<td><label for="nome"></label>
<input type="text" name="nome2" id="nome2" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Cognome</td>
<td><label for="cognome"></label>
<input type="text" name="cognome2" id="cognome2" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Telefono</td>
<td><label for="telefono"></label>
<input type="text" name="telefono2" id="telefono2" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Email</td>
<td><label for="email"></label>
<input type="text" name="email2" id="email2" /></td>
</tr></table></td></tr><tr><td><table><tr>
<td colspan="2" class="tag">Dati atleta 3</td>
</tr><tr>
<td width="45%" class="nomeclub">Nome</td>
<td><label for="nome"></label>
<input type="text" name="nome3" id="nome3" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Cognome</td>
<td><label for="cognome"></label>
<input type="text" name="cognome3" id="cognome3" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Telefono</td>
<td><label for="telefono"></label>
<input type="text" name="telefono3" id="telefono3" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Email</td>
<td><label for="email"></label>
<input type="text" name="email3" id="email3" /></td>
</tr></table></td><td><table><tr>
<td colspan="2" class="tag">Dati atleta 4</td>
</tr><tr>
<td width="45%" class="nomeclub">Nome</td>
<td><label for="nome"></label>
<input type="text" name="nome4" id="nome4" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Cognome</td>
<td><label for="cognome"></label>
<input type="text" name="cognome4" id="cognome4" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Telefono</td>
<td><label for="telefono"></label>
<input type="text" name="telefono4" id="telefono4" /></td>
</tr><tr>
<td width="45%" class="nomeclub">Email</td>
<td><label for="email"></label>
<input type="text" name="email4" id="email4" /></td>
</tr></table></td></tr></table>
<input type="submit" name="Submit" value="» Prosegui" id="Submit" /></p></form>