使用PHP将注册商标符号/版权符号插入MySQL [英] Inserting Registered Trademark Symbol/Copyright Symbol into MySQL with PHP
问题描述
我很难理解如何使用php在我的mySQL数据库中插入注册商标sybol和版权符号。
当我插入正常字符
您可以考虑转换版权/商标
参考: http://www.php.net/manual/en/function.htmlentities.php参考: http ://www.php.net/manual/en/function.htmlspecialchars.php
©版权符号:&# 169
;
™商标符号:&#153
;
I am having a hard time understanding how to insert the registered trademark sybol and copyright symbol to my mySQL database using php.
When I insert the normal character of the reistered trademark symbol, it returns some random values when I try to retrieve it.
You can look into converting the copyright/trademark symbol from and into an HTMLEntity in order to ease data transfer to the database.
Reference: http://www.php.net/manual/en/function.htmlentities.php
Reference: http://www.php.net/manual/en/function.htmlspecialchars.php
© Copyright Symbol: ©
;
™ Trademark Symbol: ™
;
这篇关于使用PHP将注册商标符号/版权符号插入MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!