通过PHP将MYSQL数据导出到Excel / CSV [英] Exporting MYSQL data into Excel/CSV via php

查看:91
本文介绍了通过PHP将MYSQL数据导出到Excel / CSV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过PHP将MYSQL数据导出到Excel / CSV。所以我可以使用我的数据库或以后有人可以使用和理解它。

i want to Export MYSQL data into Excel/CSV via php. so that i can use my database later or someone can use and understand it.

推荐答案

我认为这是你正在寻找

您可以通过选中此地址来创建自己的文件: http://www.programmingfacts.com/export-mysql-data-into-excelcsv-via-php/

You can create your own file by checking this address: http://www.programmingfacts.com/export-mysql-data-into-excelcsv-via-php/

我不能在这里添加工作代码sth is wrong = /

I can't add working code in here sth is wrong =/

但是所有\\t为\t和所有\ \\\
到\\\

but make all \\t to \t and all \\n to \n

这篇关于通过PHP将MYSQL数据导出到Excel / CSV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆