¡@

Home 

php Programming Glossary: somecontent

Creating a CSV file from MySQL table using php

http://stackoverflow.com/questions/5562925/creating-a-csv-file-from-mysql-table-using-php

carriage returns and new lines from the fields. Adding somecontent . str_replace n val on line 23 does not seem to work. any ideas.. export_csv 0777 fe @fopen export_csv. export.csv w if fe somecontent fields_count 0 print field headers db query sql_view if row.. db fetchAssoc foreach row as key val if fields_count 0 somecontent . somecontent . ucfirst key somecontent . n print field values..