![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/06/2011, 13:20
|
![Avatar de SirDuque](http://static.forosdelweb.com/customavatars/avatar288083_2.gif) | | | Fecha de Ingreso: febrero-2009 Ubicación: Paso del Rey, Buenos Aires, Argentina
Mensajes: 975
Antigüedad: 16 años Puntos: 89 | |
Respuesta: Importando CSV no me toma DOUBLE, INT, DATE en MySQL Me encontre con esto:
la variable $importe es string(11) "11.75"
[var_dump($importe);]
despues encontre un explicacion para pasar de string a int/real/float etc.
$variable = (float)$importe;
pero hacer var_dump($variable) me tira :
float(0)
-----------------------------------------
alguien se le ocurre algo? |