<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://php.apsique.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Php y otras yerbas - Lector de Excel, en Php nativo - Comentarios</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo</link>
 <description>Comentarios para &quot;Lector de Excel, en Php nativo&quot;</description>
 <language>es</language>
<item>
 <title>$a = &quot;&quot;;  $m = &quot;&quot;;  $d = &quot;&quot;;</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-84277</link>
 <description>&lt;p&gt;$a = &quot;&quot;;  $m = &quot;&quot;;  $d = &quot;&quot;;  $fecha1=&quot;&quot;;  $e = 1;&lt;br /&gt;
for ($i=0; $i&lt;/p&gt;
</description>
 <pubDate>Fri, 22 Aug 2008 10:36:48 -0700</pubDate>
 <dc:creator>inge</dc:creator>
 <guid isPermaLink="false">comment 84277 at http://php.apsique.com</guid>
</item>
<item>
 <title>Lo que tenes que hacer es un</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-84276</link>
 <description>&lt;p&gt;Lo que tenes que hacer es un script en php que le cambie el orden a la fecha yo lo hice asi:&lt;br /&gt;
$a = &quot;&quot;;&lt;br /&gt;
$m = &quot;&quot;;&lt;br /&gt;
$d = &quot;&quot;;&lt;br /&gt;
$fecha1=&quot;&quot;;&lt;br /&gt;
$e = 1;&lt;br /&gt;
for ($i=0; $i&lt;/p&gt;
</description>
 <pubDate>Fri, 22 Aug 2008 10:27:43 -0700</pubDate>
 <dc:creator>inge</dc:creator>
 <guid isPermaLink="false">comment 84276 at http://php.apsique.com</guid>
</item>
<item>
 <title>hola hola,necesito saber por</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-83421</link>
 <description>&lt;p&gt;hola hola,necesito saber por favor como leo un excel que contiene celdas con formulas desde php , porq m sale en blanco al momento de mostrar???&lt;/p&gt;
&lt;p&gt;pooorfa resp&lt;/p&gt;
</description>
 <pubDate>Wed, 30 Jul 2008 11:53:48 -0700</pubDate>
 <dc:creator>marbella</dc:creator>
 <guid isPermaLink="false">comment 83421 at http://php.apsique.com</guid>
</item>
<item>
 <title>gracias con este codigo</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-83084</link>
 <description>&lt;p&gt;gracias con este codigo modificandolo un poco pude hacer un formulario que cargue cualquier archivo de excel y muestre en una tabla dinamica los datos pero ahora la segunda parte seria transformarlo en csv para poder guardar los datos en una bd mediante los metodos de conexion a base de datos pdo estoy trancado en como convertir ese archivo ya leido y mostrado los datos que cuando la persona aprete otro boton los convierta y los pase a una base de datos en fin si alguien sabe como transformarlo con php se lo agradeseria saludos.&lt;/p&gt;
</description>
 <pubDate>Tue, 22 Jul 2008 05:54:04 -0700</pubDate>
 <dc:creator>john</dc:creator>
 <guid isPermaLink="false">comment 83084 at http://php.apsique.com</guid>
</item>
<item>
 <title>Busque en google,</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-82985</link>
 <description>&lt;p&gt;Busque en google, pues....&lt;br /&gt;
&lt;a href=&#039;http://www.epson.cl/asp/soporteHome.asp?idProducto=C11C573011&#039;&gt;http://www.epson.cl/asp/soporteHome.asp?idProducto=C11C573011&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Fri, 18 Jul 2008 07:21:16 -0700</pubDate>
 <dc:creator>clbustos</dc:creator>
 <guid isPermaLink="false">comment 82985 at http://php.apsique.com</guid>
</item>
<item>
 <title>alguien sabe como instalar y</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-82978</link>
 <description>&lt;p&gt;alguien sabe como instalar y usar una impresora epson c65?  ya que no tengo ni software ni manual de uso donde lo consigo ? ayuda porfi!!&lt;/p&gt;
</description>
 <pubDate>Thu, 17 Jul 2008 19:09:39 -0700</pubDate>
 <dc:creator>norma lareo</dc:creator>
 <guid isPermaLink="false">comment 82978 at http://php.apsique.com</guid>
</item>
<item>
 <title>ya he intentado muchas veces</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-82914</link>
 <description>&lt;p&gt;ya he intentado muchas veces y siempre me carga la pagina en blanco, alguien ha podido solucionar esto ???&lt;/p&gt;
</description>
 <pubDate>Tue, 15 Jul 2008 10:24:38 -0700</pubDate>
 <dc:creator>jsteban</dc:creator>
 <guid isPermaLink="false">comment 82914 at http://php.apsique.com</guid>
</item>
<item>
 <title>Hola, me he encontrado con</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-82822</link>
 <description>&lt;p&gt;Hola, me he encontrado con un inconveniente, ya que necesito leer y escribir sobre un Excel protegido por contraseña...&lt;br /&gt;
Alguno tiene idea de como poder hacer esto???&lt;br /&gt;
Gracias!&lt;/p&gt;
</description>
 <pubDate>Thu, 10 Jul 2008 21:06:47 -0700</pubDate>
 <dc:creator>Francisco</dc:creator>
 <guid isPermaLink="false">comment 82822 at http://php.apsique.com</guid>
</item>
<item>
 <title>Victor si hace la</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-80336</link>
 <description>&lt;p&gt;Victor si hace la converción siempre a un mismo número más, haz una función que te cálcule un día menos&lt;/p&gt;
</description>
 <pubDate>Fri, 18 Apr 2008 12:01:37 -0700</pubDate>
 <dc:creator>Perejilillo desconocido</dc:creator>
 <guid isPermaLink="false">comment 80336 at http://php.apsique.com</guid>
</item>
<item>
 <title>He tenido problemas leyendo</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-80278</link>
 <description>&lt;p&gt;He tenido problemas leyendo campos de tipo &quot;Porcentaje&quot; desde una hoja excel hacia php usando esta librería.&lt;/p&gt;
&lt;p&gt;El problema es el siguiente, yo tengo por ejemplo una lista de campos así:&lt;br /&gt;
15%&lt;br /&gt;
30%&lt;br /&gt;
57%&lt;br /&gt;
100%&lt;br /&gt;
90%&lt;/p&gt;
&lt;p&gt;Y el lector me devuelve:&lt;br /&gt;
0%&lt;br /&gt;
0%&lt;br /&gt;
1%&lt;br /&gt;
1%&lt;br /&gt;
1%&lt;/p&gt;
&lt;p&gt;Obviamente se nota que para todo procentaje mayor a 50% se redonde a 1 y menor a 0, pero yo quiero leer el numero REAL. Alguien puede darme una respuesta ??? GRACIAS ^_^&lt;/p&gt;
</description>
 <pubDate>Fri, 18 Apr 2008 07:12:59 -0700</pubDate>
 <dc:creator>Serg|o</dc:creator>
 <guid isPermaLink="false">comment 80278 at http://php.apsique.com</guid>
</item>
<item>
 <title>Bueno yo tambien e utilizado</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-74884</link>
 <description>&lt;p&gt;Bueno yo tambien e utilizado la clase Excelreader es buena ya que lo que hacia era leerla y luego lo copiaba aun archivo de texto delimitado por tabulaciones. Hacia esto para luego ejecutar el comando LOAD DATA INFILE para llenar mi tabla. Mi unico inconveniente era que al momento de subirlo a mi servidor que estaba en Centos este ya estaba con la memoria al 100% y no podia reservar nada. Modifique el php.ini pero igual.&lt;/p&gt;
&lt;p&gt;Mi prgunta es como hacer para que no se necesite tanta memoria al leer el archivo.&lt;/p&gt;
</description>
 <pubDate>Fri, 08 Feb 2008 09:18:13 -0800</pubDate>
 <dc:creator>yonf</dc:creator>
 <guid isPermaLink="false">comment 74884 at http://php.apsique.com</guid>
</item>
<item>
 <title>HOLA A TODOS TENGO UN</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-71122</link>
 <description>&lt;p&gt;HOLA A TODOS TENGO UN PROBLEMA CON EL CODIGO REALIZE TODOS LOS PASOS PARA PODER EJECUTAR ARCHIVOS DEEXCEL CON PHP PERO ME APARECE EM BLANCO LA PAGINA POR QUE POR AHI HABIA VISTO UN COMENTARIO QUE HAY QUE CAMBIARLE LA RUTA EN READER.PHP PARA LEER EL ARCHIVO PERO NO SE DONDE ESPERO ME PUEDAN AYUDAR ME SUPER URGE MUCHISIMAS GRACIAS DE ANTEMANO.&lt;/p&gt;
</description>
 <pubDate>Tue, 04 Dec 2007 07:49:52 -0800</pubDate>
 <dc:creator>ANGEL</dc:creator>
 <guid isPermaLink="false">comment 71122 at http://php.apsique.com</guid>
</item>
<item>
 <title>que tal, he leido el</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-71022</link>
 <description>&lt;p&gt;que tal, he leido el articulo y tengo una duda:&lt;/p&gt;
&lt;p&gt;yo necesito leer un archivo excel ya generado, mediante php voy a abrir este archivo, una vez que yo oprima el boton de &quot;abrir&quot; me tiene que abrir el archivo excel y tiene que jalar unos datos desde mysql por medio de una clave de usuario previamente introducida, por ejemplo, una vez abierto el archivo, que jale el registro de la columna &quot;nombre&quot; y lo posicione en la celda A4, el registro &quot;horas&quot; en D5, y el registro &quot;sueldo&quot; en G8.&lt;/p&gt;
&lt;p&gt;esto lo puedo hacer con la herramienta que aqui describen????&lt;br /&gt;
gracias&lt;/p&gt;
</description>
 <pubDate>Tue, 27 Nov 2007 11:06:08 -0800</pubDate>
 <dc:creator>trucutrucu</dc:creator>
 <guid isPermaLink="false">comment 71022 at http://php.apsique.com</guid>
</item>
<item>
 <title>Estimados: Yo trabajé con</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-70713</link>
 <description>&lt;p&gt;Estimados: Yo trabajé con esa clase en un proyecto para un cliente y me encontré un problema grave que tiene muy complicada mi relación con el cliente. En un campo tipo fecha (en excel la celda tiene formato fecha) al leerla en mi sistema me muestra 1 día más... veo el excel y dice 30 de octubre pero el sistema muestra 31 de octubre. La clase internamente hace una conversión de numeros a fechas (la clase, no mi sistema) y al parecer no la resuelve bien. Si alguno tiene la solución se los agradecería. Si yo la encuentro se las comento. Saludos.&lt;/p&gt;
</description>
 <pubDate>Tue, 30 Oct 2007 12:55:23 -0700</pubDate>
 <dc:creator>Victor enlaze_cl</dc:creator>
 <guid isPermaLink="false">comment 70713 at http://php.apsique.com</guid>
</item>
<item>
 <title>Yo trabajo mucho con las web</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo#comment-65491</link>
 <description>&lt;p&gt;Yo trabajo mucho con las web y pues en mi opinión hay muchos codigos php para hacer la conversion EXCEL&amp;gt;PHP Y PHP&amp;gt;EXCEL. Pero la mayoria les falta los que otros tienen y viceversa. Mi pregunta es si no hay algun codigo que lea el documento .xls y lo imprima en la web con php, aparte de visualizar como escribieron arriba, los resultados de las celdas que dan referencias a otras celdas de otras hojas, vaya, que se visalize exactamente como lo vemos en el excel.&lt;/p&gt;
</description>
 <pubDate>Wed, 14 Feb 2007 09:53:06 -0800</pubDate>
 <dc:creator>Shiru_Jan</dc:creator>
 <guid isPermaLink="false">comment 65491 at http://php.apsique.com</guid>
</item>
<item>
 <title>Lector de Excel, en Php nativo</title>
 <link>http://php.apsique.com/contenido/lector_excel_php_nativo</link>
 <description>Acabo de ver en la lista de correos de php un link a una interesante aplicación: &lt;a href=&#039;http://sourceforge.net/projects/phpexcelreader/&#039;&gt;PHP-ExcelReader&lt;/a&gt;.
Este software permite leer un archivo Excel de forma nativa con php, cargando la información en un array.
&lt;!--break--&gt;
&lt;br /&gt;
El ejemplo incluido reza algo como lo siguiente:
&lt;br /&gt;
&lt;div class=&#039;code&#039;&gt;&lt;div class=&quot;hl-main&quot;&gt;&lt;ol class=&quot;hl-main&quot;&gt;&lt;li&gt;&amp;nbsp;&lt;span class=&quot;hl-inlinetags&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;require_once&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;Excel/reader.php&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$data&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; = &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;Spreadsheet_Excel_Reader&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$data&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;setOutputEncoding&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;CP1251&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$data&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;setUTFEncoder&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;mb&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$data&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;jxlrwtest.xls&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt;/*&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;$data-&amp;gt;sheets[0][&#039;numRows&#039;] - count rows&lt;/li&gt;
&lt;li&gt;&amp;nbsp;$data-&amp;gt;sheets[0][&#039;numCols&#039;] - count columns&lt;/li&gt;
&lt;li&gt;&amp;nbsp;$data-&amp;gt;sheets[0][&#039;cells&#039;][$i][$j] - data from $i-row $j-column&lt;/li&gt;
&lt;li&gt;&amp;nbsp;$data-&amp;gt;sheets[0][&#039;cellsInfo&#039;][$i][$j] - extended info about cell&lt;/li&gt;
&lt;li&gt;&amp;nbsp;$data-&amp;gt;sheets[0][&#039;cellsInfo&#039;][$i][$j][&#039;type&#039;] = &amp;quot;date&amp;quot; | &amp;quot;number&amp;quot; | &amp;quot;unknown&amp;quot;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;        if &#039;type&#039; == &amp;quot;unknown&amp;quot; - use &#039;raw&#039; value, because  cell contain value with format &#039;0.00&#039;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;$data-&amp;gt;sheets[0][&#039;cellsInfo&#039;][$i][$j][&#039;raw&#039;] = value if cell without format &lt;/li&gt;
&lt;li&gt;&amp;nbsp;$data-&amp;gt;sheets[0][&#039;cellsInfo&#039;][$i][$j][&#039;colspan&#039;] &lt;/li&gt;
&lt;li&gt;&amp;nbsp;$data-&amp;gt;sheets[0][&#039;cellsInfo&#039;][$i][$j][&#039;rowspan&#039;] &lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt;*/&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;error_reporting&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;E_ALL&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; ^ &lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;E_NOTICE&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$i&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; = &lt;/span&gt;&lt;span class=&quot;hl-number&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;; &lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$i&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &amp;lt;= &lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$data&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;sheets&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;hl-number&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;numRows&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;; &lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$i&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$j&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; = &lt;/span&gt;&lt;span class=&quot;hl-number&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;; &lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$j&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &amp;lt;= &lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$data&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;sheets&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;hl-number&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;numCols&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;; &lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$j&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;        &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;hl-special&quot;&gt;\&amp;quot;&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$data&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;sheets&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;hl-number&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;cells&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$i&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$j&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;hl-special&quot;&gt;\&amp;quot;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;hl-special&quot;&gt;\n&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;
Nice. Hubiera preferido un método basado en objetos, de tal manera de hacer algo como
&lt;br /&gt;
&lt;div class=&#039;code&#039;&gt;&lt;div class=&quot;hl-main&quot;&gt;&lt;ol class=&quot;hl-main&quot;&gt;&lt;li&gt;&amp;nbsp;&lt;span class=&quot;hl-inlinetags&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$aSheet&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;=&amp;amp;&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$data&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;fetchSheet&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$aRow&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$aSheet&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;fetchRow&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;        &lt;/span&gt;&lt;span class=&quot;hl-reserved&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$aSheet&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;hl-identifier&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-string&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hl-quotes&quot;&gt;&#039;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;hl-var&quot;&gt;$aRow&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;hl-number&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;    &lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;    &lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-brackets&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;hl-inlinetags&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;
Que a mi modo de ver es mucho más claro, que andar manejando esos arrays interminables.
</description>
 <comments>http://php.apsique.com/contenido/lector_excel_php_nativo#comments</comments>
 <category domain="http://php.apsique.com/categoria/lenguajes/php_php_retorcido">Php retorcido</category>
 <pubDate>Fri, 18 Mar 2005 10:19:56 -0800</pubDate>
 <dc:creator>clbustos</dc:creator>
 <guid isPermaLink="false">411 at http://php.apsique.com</guid>
</item>
</channel>
</rss>
