Ver Mensaje Individual
  #2 (permalink)  
Antiguo 31/10/2014, 10:35
Avatar de Patriarka
Patriarka
 
Fecha de Ingreso: enero-2011
Ubicación: Moreno, Buenos Aires, Argentina
Mensajes: 2.851
Antigüedad: 13 años, 3 meses
Puntos: 288
Respuesta: problemas con un boton para Modificar

deberias modificar algunas cosas:

Código PHP:
Ver original
  1. <form name='pruebita' action='$codigo' method='POST' id='css'>
  2. <input type='hidden' id='hid_serie' name='hid_serie' value='' />
  3. <?php
  4. while ($fila = $result->fetch_array(MYSQLI_ASSOC))
  5. {
  6. ?>
  7. <tr>
  8.             <td class='tg-ek65'>
  9.            
  10.             <input type='button' name='Modificar' onclick='send("<?php echo $fila ["serie"]; ?>")' >
  11. </td></tr>
  12. <?php
  13. }
  14. echo '</form>';
  15.  
  16. <script>
  17. function send(serie){
  18. document.getElementById("hid_serie").value = serie;
  19. document.getElementById("css").submit();
  20. }
  21. </script>