Completed

Customizable Csv export - Php 5.3

Published on the December 04, 2017 in IT & Programming

About this project

Open

Requisites:
Pure PHP 5.3
MySQL Database
Comments on each coded line
Include: dbconection.inc


Input:
  inputA.sql
  Example:
  select field1 as customname1, field2 as customname2, field3 as customname3 from table where field5 = 0;
 
pseudo code

variables
output_path : varchar (255)  =  '/mypath/ubication/'
output_file_name : varchar (255) = 'outputfile.csv'


OpenFile <-- inputA.sql


From OpenFile Do for each record    
    
Output:
    CSV file.
    
    Example:
    CustomName1, CustomName2, CustomName3
    ValueRow1Fied1, ValueRow1Fied1, ValueRow1Fied1
    ValueRow2Fied1, ValueRow2Fied1, ValueRow2Fied1
    ValueRow3Fied1, ValueRow3Fied1, ValueRow3Fied1
    ...
    ValueRowNFied1, ValueRowNFied1, ValueRowNFied1

Category IT & Programming
Subcategory Web development
What is the scope of the project? Small change or bug
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed
Experience in this type of projects Yes (I have managed this kind of project before)
Roles needed Developer

Delivery term: December 07, 2017

Skills needed

Other projects posted by M. T.