摘要:
获取数据库里所有表SELECT TABLE_NAME,TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='数据库名'获取表里所有字段select column_name from information_schema.colum... 阅读全文
摘要:
public function doworks(){ //输出Excel文件头,可把user.csv换成你要的文件名 header('Content-Type: application/vnd.ms-excel'); header('Content-Disposition: attachment;f... 阅读全文