![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/03/2009, 17:39
|
![Avatar de GatorV](http://static.forosdelweb.com/customavatars/avatar138775_9.gif) | $this->role('moderador'); | | Fecha de Ingreso: mayo-2006 Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses Puntos: 2135 | |
Respuesta: problema con fwrite (intros) Es mejor si haces algo así:
Código php:
Ver original$archivo=fopen("archivo.txt", "w"); for($pos=0; $pos<=3; $pos++) { fwrite($archivo,$pos . PHP_EOL ); }
Saludos. |