Jump to content

Download csv from php


xionhack

Recommended Posts

grab your data from the db, format how you want it and write it to a file then set the headers to download the file.

 

file download example here: http://www.higherpass.com/php/Tutorials/File-Download-Security/

 

you should be able to do it without writing the data to a file but i can't remember how off hand.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.