[英]Is there something like   for '?
The system I'm using has a bug dealing with '
,is there a html format for '
? 我使用该系统有一个处理一个错误
'
是有一个HTML格式'
?
Is there a PHP function to look up this ? 是否有PHP函数可以对此进行查询?
There is '
有
'
. 。
Take a look at the HTML page on these codes. 看一下这些代码的HTML页面。
htmlentities ($string, ENT_QUOTES);
’
for ' and ‘
代表“和
‘
for ' 为
Try this: 尝试这个:
'
See it in action (not much to look at): ' 实际操作中看(没什么要看的):'
只是作为参考: http : //www.asciitable.com/总是很好的帮助:)
Here is a reference chart for html special characters: 这是html特殊字符的参考表:
http://www.mindflip.com/inet/web/htmlchars.html http://www.mindflip.com/inet/web/htmlchars.html
You can try '
您可以尝试
'
or ‘
或
‘
for a quote. 报价。
您还可以使用'
Character Entity Number Entity Name Description
" " " quotation mark
' ' ' apostrophe(does not work in IE)
& & & ampersand
< < < less-than
> > > greater-than
htmlentities ()呢?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.