Quantcast
Channel: PHP – Tejash Shah
Viewing all articles
Browse latest Browse all 10

Create a CSV file from MySQL with PHP

$
0
0
The example code below uses the raw mysql_* functions but it should be easy enough to substitute a database library’s functions instead. It also writes the data out line by line to the CSV file whereas you could buffer the whole file in memory and write it out at one go; however if the resultset […]

Viewing all articles
Browse latest Browse all 10

Trending Articles