Este proyecto te permite crear archivos csv desde la base de datos con la función INTO OUTFILE de sql,
ademas agrega los encabezados de columna de manera dinámica, solo configura las variables iniciales y obtén tu csv.

$fecha_hoy=date('d-m-Y');
$ruta_descarga = 'C:/Program Files/Apache24/htdocs/CsvIgniter/tmp/';//no olvides el / del final

$nombre_carpeta_a_descargar = 'FOLDER1';

$descarga_nav = TRUE; //ESTO HABILITA O DESHABILITA LA DESCARGA

$bd = "tu_base_de_datos";
$tabla = "tu_tabla";

//WHERE
$wheres = "";

$prefijo_reportes_archivos = "CSV Sample 1 - Title ";
$momento = "{$fecha_hoy}";//date("Y-m-d h-i-s"); //AQUI PUEDES AGREGAR MAS DETALLES DE LA HORA
$registros_por_csv = 1000000; //reducir si el archivo se corrompe

$delimiter = ',';
$enclosure = '"';
$newline = '\n';

Features

  • Genera csv dinámicos fácil

Project Activity

See All Activity >

Follow CsvIgniter

CsvIgniter Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
0
0
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 1 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Aver q pasa ... Veremos
Read more reviews >

Additional Project Details

Registered

2018-09-28