Page 1 of 1

How do I export MySQL data to csv file using php?

Posted: Tue Mar 06, 2012 4:30 am
by webfeetdesign
Hi there,

I'm a total newbie and made my first app using a great book. But the problem I'm having is that I need to be able to export my data from the database at the click of a button.

I have a database that collects user details such as First name, Last name, Address1, Address2, Postcode etc... How can I export this data?

Re: How do I export MySQL data to csv file using php?

Posted: Tue Mar 06, 2012 9:18 am
by social_experiment
http://www.rogerdavies.com/2009/02/php- ... -database/
Have a look at this url

Try googling "How do I export MySQL data to csv file using php", you're likely to find more results :)