加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

如何使用PHP在MySQL中存储’

发布时间:2020-12-13 18:08:58 所属栏目:PHP教程 来源:网络整理
导读:参见英文答案 UTF-8 all the way through13个 我已将PHP字符集设置为utf-8: header('Content-Type: text/html; charset=utf-8'); 我已经使用collat??ion utf8_unicode_ci将MySQL中的货币列设置为varchar(1). 但是,PHP中的以下代码: $currency = '
参见英文答案 > UTF-8 all the way through13个
我已将PHP字符集设置为utf-8:
header('Content-Type: text/html; charset=utf-8');

我已经使用collat??ion utf8_unicode_ci将MySQL中的货币列设置为varchar(1).

但是,PHP中的以下代码:

$currency = '                        

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读