mysql to csv without using INTO OUTFILE of mysql

I need to export data from mysql to a csv file with column heading but i dont have file permission on the server. Is there any otherway to do it? i.e. using php fwrite? or fputcsv?Any help will be much appriciate. Thanks.
 
Back
Top