sam20e Posted July 24, 2012 Share Posted July 24, 2012 Hi I have a PHP script. Its a library management system. So after all the books are stored in the database i need to create multiple reports - like clicking a link which will execute the SQL command and export the result to CSV. Can anyone guide me how can we do this CSV export? Thanks Sam Quote Link to comment https://forums.phpfreaks.com/topic/266164-php-mysql-query-to-csv-export/ Share on other sites More sharing options...
g__ink Posted July 24, 2012 Share Posted July 24, 2012 A quick google search produced the following: http://stackoverflow.com/questions/125113/php-code-to-convert-a-mysql-query-to-csv Quote Link to comment https://forums.phpfreaks.com/topic/266164-php-mysql-query-to-csv-export/#findComment-1363961 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.