Ver originalwhile ($cont1 < $max) { echo "<tr>"; echo "<td><input type='text' name="variable1..."></td>"; echo "</tr>"; $cont1=$cont1+1; }