Ver Mensaje Individual
  #21 (permalink)  
Antiguo 28/05/2014, 13:57
portal47
 
Fecha de Ingreso: abril-2014
Mensajes: 141
Antigüedad: 10 años
Puntos: 1
Respuesta: duplicados al actualizar registros

entonces, estoy obteniendo el id_persona y tipo(telefono) para mostrar el telefono y solo muestra 1 telefono

utilizo esto para que me muestre el segundo telefono del mismo tipo:
Código PHP:
Ver original
  1. <tr><td height="30"><input size="45" name='telefono'  type='text' maxlength='50' value=" <?php
  2.             while( $i >= 1 ) {
  3.                 echo $telefono;
  4.                 ?>
  5.       /
  6.       <?php
  7.     $i--;
  8.     }
  9.       ?>"></td>
  10.       </tr>

como obtengo el id de los telefonos?
al intentar recoger el id del telefono obtiene el del primer telefono