Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged csv



« Prev 1 Next »
CSV(unicode) file to php array
0 21 posted 7 years ago by hgc81538
Class that convert arrays to csv format, downloads CSV files and saves to disk on server.
0 36 posted 7 years ago by TimoZachi
0 16 posted 8 years ago by terataz
Just a short little script that takes a mysql query and turns it into a csv file that downloads automatically. If your interested in the details you can hit up the link.
0 23 posted 8 years ago by FatFolderDesigner
0 23 posted 8 years ago by iloveitaly
0 19 posted 9 years ago by jorisros
Modify includes to connect and select to provide correct result set
0 52 posted 9 years ago by kidmizere
3 23 posted 9 years ago by damanlovett
See code comments for more details.
1 15 posted 9 years ago by Sverri
this script splits the csv file two times (1. on "new line", 2. on ";") and returns a two dem array in the last for loop.
2 20 posted 10 years ago by antpaw
updated 2013-04-18! just replace the XXX fields with your own numbers. Then run this PHP Script from the command line (CLI mode). It will fetch the online statements from Hypovereinsbank direct banking. The code works by tweaking CURL settings...
0 32 posted 11 years ago by uioreanu
The best part about this script is that any table you put in the query on line 14 will be the headers and data in the CSV. No need to hand type out all the table headers unless you want to comment that section out and put in your own. So if you have...
2 28 posted 11 years ago by fackz
# Export MySQL Data as CSV This code takes a `mysql_query()` resource and outputs its rows into CSV spreadsheet format. Edit the `header('Content-Disposition...` declaration to tell the user's browser to either display the data as plain text or do...
6 29 posted 11 years ago by mikegreen
0 21 posted 12 years ago by iTony
13 73 posted 13 years ago by johnself
I think I got this one off php.net. I wish I could thank the author properly because this has been a real helper!
11 35 posted 13 years ago by koncept
This is an example of how to use the articleHandler.class.php , this class can be found @ pietervp.com -> downloads
1 15 posted 13 years ago by pietervp
« Prev 1 Next »