php - export data into CSV format and store the csv file in the server -
how save csv file in server containing data fetching form mysql dtatbase? want download database in csv format.i able download contants directly, need save fetched data server , provide user link download data xls or csv format. new field , don't have idea how save csv file in server itself.
you can first query database required conditions , write contents csv file on application server & later on provide link file in application. may check following link on how obtain data, convert csv & write file :
Comments
Post a Comment