Ver Mensaje Individual
  #8 (permalink)  
Antiguo 06/06/2011, 13:27
Avatar de the_web_saint
the_web_saint
 
Fecha de Ingreso: mayo-2008
Ubicación: localhost/tierra/america/panama
Mensajes: 1.229
Antigüedad: 16 años
Puntos: 43
Respuesta: Importando CSV no me toma DOUBLE, INT, DATE en MySQL

Usa esta función a ver si te funciona.

Código PHP:
Ver original
  1. $var = '122.34343The';
  2. $float_value_of_var = floatval($var);
  3. echo $float_value_of_var; // 122.34343

Slds
__________________
..::The Saint::..
El pesimista se queja del viento; el optimista espera que cambie; el realista ajusta las velas.