Ver Mensaje Individual
  #8 (permalink)  
Antiguo 17/06/2009, 19:29
Avatar de argy
argy
 
Fecha de Ingreso: octubre-2007
Ubicación: Longitud 75º Latitud 18º Sur
Mensajes: 614
Antigüedad: 16 años, 6 meses
Puntos: 18
Respuesta: Obtener datos de un campo a una variable

Código :
Ver original
  1. if (mysql_num_rows($resultado)>0)
  2. {
  3.    
  4. $fecha='';
  5. $cliente='';
  6. while ($fila = mysql_fetch_array($resultado));
  7.             {
  8.                 $fecha .= $fila["fecha"];
  9.                 $cliente .= $fila["cliente"];
  10.             }
  11. echo $fecha;
  12. echo $fila;
  13. }

no te funciona????
__________________
Software libre para un mundo libre.

Eventualmente en el foro.