Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/07/2015, 09:41
Avatar de luisdavid1993
luisdavid1993
 
Fecha de Ingreso: julio-2015
Ubicación: Anaco Venezuela
Mensajes: 78
Antigüedad: 8 años, 9 meses
Puntos: 2
Respuesta: Input tipo text no toma valores

Código PHP:
Ver original
  1. <?php
  2.               $i;
  3.  
  4.                          
  5.                        
  6.                            
  7.                            
  8.                         echo"<form action='meto_principal.php' method='Post' name='formulario2' id='formulario2' class='table-responsive' >";
  9.                         if(count($filas2)>0){
  10.                            
  11.                           while($fila2=mysqli_fetch_array($filas2)){
  12.                    
  13.                             $i=$fila2['id'];
  14.                             echo"<tr id='$i'>";
  15.                            
  16.                              
  17.                                    
  18.  
  19.                                     $priority=$fila2['prioridad'];
  20.                                      $priority_color=$fila2['prioridad_color'];
  21.                                     echo"<td bgcolor='$priority_color'>"."<input type='text' name='prioridad+$i' id='prioridad' class='$i' value='$priority' size='1'></input>";
  22.                                     echo"</td>";
  23.                              
  24.  
  25.                                
  26.  
  27.                                     $rig=$fila2['rig'];
  28.                                     $rig_color=$fila2['rig_color'];
  29.                                     echo"<td bgcolor='$rig_color'>"." <input type='text' name='rig+$i' id='rig' value='$rig' class='$i' size='8'></input>";
  30.                                     echo"</td>";
  31.                                    
  32.                                    
  33.                                  
  34.  
  35.  
  36.  
  37.                              
  38.                                
  39.                                     $hole_size=$fila2['hole_size'];
  40.                                     $hole_size_color=$fila2['hole_size_color'];
  41.                                  
  42.                                     echo"<td bgcolor='$hole_size_color'>"."<input type='text' name='hole_size+$i'  id='hole_size' class='$i' value='$hole_size' size='3'></input>";
  43.                                     echo"</td>";
  44.                                  
  45.                                    
  46.                                    
  47.                                    
  48.                                    
  49.                                
  50.                                     $ads=$fila2['ads'];
  51.                                     $ads_color=$fila2['ads_color'];
  52.                                     echo"<td bgcolor='$ads_color' >"."<textarea name='ads+$i'  id='ads' class='$i'>$ads</textarea>";
  53.                                     echo"</td>";
  54.                                    
  55.                                    
  56.                                  
  57.                                    
  58.                                    
  59.                                    
  60.                                    
  61.                                    
  62.                              
  63.                                     $rss=$fila2['rss'];
  64.                                    $rss_color=$fila2['rss_color'];
  65.                                     echo"<td bgcolor='$rss_color'>"."<textarea name='rss+$i' id='rss' class='$i'>$rss</textarea>";
  66.                                     echo"</td>";
  67.                                  
  68.                                    
  69.  
  70.                                
  71.                                     $lwd=$fila2['lwd'];
  72.                                     $lwd_color=$fila2['lwd_color'];
  73.                                     echo"<td bgcolor='$lwd_color'>"."<textarea name='lwd+$i' id='lwd' class='$i' >$lwd</textarea> ";
  74.                                     echo"</td>";
  75.                                    
  76.                                    
  77.                                    
  78.                                     $mwd=$fila2['mwd'];
  79.                                   $mwd_color=$fila2['mwd_color'];
  80.                                     echo"<td bgcolor='$mwd_color'>"." <textarea name='mwd+$i' id='mwd'  class='$i'>$mwd</textarea>";
  81.                                     echo"</td>";
  82.                                    
  83.                                    
  84.                                    
  85.                                     $m=$fila2['m'];
  86.                                       $m_color=$fila2['m_color'];
  87.                                     echo"<td bgcolor='$m_color'>"." <input type='text' name='m+$i' id='m' class='$i' value='$m' size='1'></input>";
  88.                                     echo"</td>";
  89.                                    
  90.                                    
  91.  
  92.  
  93.                                       $s=$fila2['s'];
  94.                                     $s_color=$fila2['s_color'];
  95.                                     echo"<td bgcolor='$s_color' >"."<input type='text' name='s+$i' id='s' class='$i' value='$s' size='1'></input>";
  96.                                     echo"</td>";
  97.                                    
  98.                                    
  99.  
  100.                                       $j=$fila2['j'];
  101.                                     $j_color=$fila2['j_color'];
  102.                                     echo"<td bgcolor='$j_color'>"."<input type='text' name='j+$i' id='j' class='$i'  value='$j' size='1'></input>";
  103.                                     echo"</td>";
  104.                                  
  105.                                    
  106.                                  
  107.                                       $x=$fila2['x'];
  108.                                     $x_color=$fila2['x_color'];
  109.                                     echo"<td bgcolor='$x_color'>"."<input type='text' name='x+$i' id='x' class='$i' value='$x' size='2'></input>";
  110.                                     echo"</td>";
  111.                                    
  112.                                    
  113.                                  
  114.                                     $lr=$fila2['lr'];
  115.                                     $lr_color=$fila2['lr_color'];
  116.                                     echo"<td bgcolor='$lr_color'>"."<input type='text' name='lr+$i' id='lr' class='$i' value='$lr' size='3'></input>";
  117.                                     echo"</td>";
  118.                                  
  119.                                    
  120.                                    
  121.                                       $lf=$fila2['lf'];
  122.                                       $lf_color=$fila2['lf_color'];
  123.                                     echo"<td bgcolor='$lf_color'>"."<input type='text' name='lf+$i' id='lf' class='$i' value='$lf' size='3'></input>";
  124.                                     echo"</td>";
  125.                                    
  126.  
  127.                                     $surface=$fila2['surface'];
  128.                                      $surface_color=$fila2['surface_color'];
  129.                                     echo"<td bgcolor='$surface_color'>"."<input type='text' name='surface+$i' id='surface' class='$i' value='$surface' size='3'></input>";
  130.                                     echo"</td>";
  131.                                    
  132.                                    
  133.                                    $date=$fila2['date'];
  134.                                     $date_color=$fila2['date_color'];
  135.                                     echo"<td bgcolor='$date_color'>"."<input type='text' name='date+$i' id='date' class='$i' value='$date' size='6'></input>";
  136.                                     echo"</td>";
  137.                                  
  138.                                    
  139.                                  
  140.  
  141.                                    echo"<td>"."<input type='text' name='date' size='1'></input>";
  142.                                     echo"</td>";
  143.                                    
  144.                                    
  145.                                       $comentario=$fila2['comentario'];
  146.                                      $comentario_color=$fila2['comentario_color'];
  147.                                     echo"<td bgcolor='$comentario_color' id='com'>"."<textarea id='comentario' name='comentario+$i'class='$i'> $comentario</textarea >";
  148.                                     echo"</td>";
  149.                                    
  150.  
  151.  
  152.  
  153.  
  154.                                      $fsn=$fila2['fsn'];
  155.                                     $fsn_color=$fila2['fsn_color'];
  156.                                     echo"<td bgcolor='$fsn_color'>"."<input type='text' name='fsn+$i'  id='fsn' class='$i' value='$fsn' size='2'></input>";
  157.                                     echo"</td>";
  158.                                  
  159.                                    echo"<td >"."<a href='eliminar.php?id=$i'><button type='button' class='btn remove' id='$i' style='width:30px; height:5px'></button></a>";
  160.                                     echo"</td>";
__________________
"Lucha por tus sueños o alguien te contratara para que cumplas los de el"