Ver Mensaje Individual
  #6 (permalink)  
Antiguo 26/03/2007, 22:24
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Como representar un tabulado (tecla tab).

mmmm yo he probado este codigo y funciona:
Código PHP:
$datos file("archivo.txt");
foreach( 
$datos as $registro ) {
       list( 
$fecha$hora$paciente$comentarios ) = explode'\t'$registro );
       echo 
"Fecha: " $fecha;
       echo 
"Hora: " $hora;