Forse ho capito il problema ma non so il motivo , da analizza elemento noto che ho :
codice:
<tbody>
<tr>
<td>
palla
</td>
<td>
10.5
</td>
<form id="prodottonelcarrello2 " data-toggle="validator" action="prodottonelcarrello.php" method="GET" name="prodottonelcarrello2"></form>
<input id="idprodotto" type="hidden" value="2" name="idprodotto"></input>
<td>
<input id="quantita" class="form-control" type="text" required="" placeholder="Qtà?" name="quantita"></input>
</td>
<td>
<input type="submit" value="Inserisci nel carrello"></input>
</td>
Ma io nel mio script ho:
codice:
<tr>
<td><?php echo $prodotto ?></td>
<td><?php echo $prezzopubblico ?></td>
<form name="prodottonelcarrello<?php echo $idprodotto ?>" id="prodottonelcarrello<?php echo $idprodotto ?> " method="GET" action="prodottonelcarrello.php" data-toggle="validator">
<input type="hidden" id='idprodotto' name="idprodotto" value="<?php echo $idprodotto ?>">
<td><input type="text" class="form-control" name="quantita" id="quantita" placeholder="Qtà?" required> </td>
<td><input type="submit" value="Inserisci nel carrello"></td>
</form>
</tr>
Sapete perchè mi chiude tutti i tag del form ?