![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/02/2009, 13:11
|
![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: Al exportar datos de mysql a excel me muestra solo un contenido Pues necesitas ciclar:
Código php:
Ver original$sExport = '<table ...'; foreach( /** condicion **/ ) { $sExport .= '<tr><td>' . $datos . '</td></tr>'; } $sExport .= '</table>';
Saludos |