informatica:programacion:php:simplexlsx
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| informatica:programacion:php:simplexlsx [2025/01/23 10:07] – [Obtener el nombre de las hojas y su posición] tempwin | informatica:programacion:php:simplexlsx [2025/01/23 10:33] (actual) – [SimpleXLSX] tempwin | ||
|---|---|---|---|
| Línea 1: | Línea 1: | ||
| ====== SimpleXLSX ====== | ====== SimpleXLSX ====== | ||
| - | Clase de [[informatica: | + | Clase de [[informatica: |
| * [[https:// | * [[https:// | ||
| + | |||
| + | <WRAP center round info 60%> | ||
| + | Desde 2006-2007, Microsoft empezó a usar el formato [[https:// | ||
| + | </ | ||
| ===== Uso ===== | ===== Uso ===== | ||
| Línea 20: | Línea 24: | ||
| </ | </ | ||
| - | ==== Información del fichero | + | ==== Seleccionar una hoja ==== |
| - | * '' | + | <code php> |
| - | * '' | + | use Shuchkin\SimpleXLSX; |
| - | * '' | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | * '' | + | |
| - | * '' | + | |
| + | // Ruta a la clase | ||
| + | require_once __DIR__.'/ | ||
| + | |||
| + | $xlsx = SimpleXLSX:: | ||
| + | foreach( $xlsx-> | ||
| + | | ||
| + | } | ||
| + | </ | ||
| ==== Fichero XLSX a tabla HTML ==== | ==== Fichero XLSX a tabla HTML ==== | ||
| <code php> | <code php> | ||
| use Shuchkin\SimpleXLSX; | use Shuchkin\SimpleXLSX; | ||
| + | |||
| + | // Ruta a la clase | ||
| + | require_once __DIR__.'/ | ||
| if ( $xlsx = SimpleXLSX:: | if ( $xlsx = SimpleXLSX:: | ||
| Línea 45: | Línea 55: | ||
| <code php> | <code php> | ||
| + | use Shuchkin\SimpleXLSX; | ||
| + | |||
| + | // Ruta a la clase | ||
| + | require_once __DIR__.'/ | ||
| + | |||
| if ( $xlsx = SimpleXLSX:: | if ( $xlsx = SimpleXLSX:: | ||
| $f = fopen(' | $f = fopen(' | ||
| Línea 73: | Línea 88: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | ==== Información del fichero ==== | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
informatica/programacion/php/simplexlsx.1737623253.txt.gz · Última modificación: por tempwin
