摘要: 对于这样的数据,MySQL数据库因存储类型是无法直接写入的,那有什么办法呢? 解决方案:使用PHP自带的serialize()或者json_encode()函数序列化数据成字符串, 之后从数据库里面读出来的数据还是字符串格式的,用unserialize()和json_decode()函数转换成数组就 阅读全文
posted @ 2018-06-07 15:29 Zero116 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 1.下载class.phpmailer.php和class.smtp.php至公共库 2.编写发邮件的公共函数 3.SMTP配置函数 4.根据库中存的Base64获取图片信息,实际调用的为一个URL 阅读全文
posted @ 2018-06-07 15:24 Zero116 阅读(824) 评论(0) 推荐(0) 编辑
摘要: 学习网址: http://wiki.pchart.net/doc.introduction.html http://pchart.sourceforge.net/index.php 阅读全文
posted @ 2018-06-07 15:11 Zero116 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1.引入相关公共库PHPExcel 2.编写公共函数 3.调用公共函数即可 阅读全文
posted @ 2018-06-07 14:56 Zero116 阅读(181) 评论(0) 推荐(0) 编辑