Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/267.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
php文件中出现未知的倒逗号符号_Php_Html - Fatal编程技术网

php文件中出现未知的倒逗号符号

php文件中出现未知的倒逗号符号,php,html,Php,Html,我有index.php文件。在index.php文件中有以下代码 <p>This is john's computer</p> 怎么解决呢 感谢您的支持。尝试使用ASCII字符 &#39; 请使用和#39而不是直接使用 <p>This is john&#39;s computer</p> 我是约翰&39;s计算机 您可能只是没有正确指定字符编码。请尝试将其添加到HTML:删除单引号,然后自己键入。它可能来自复制粘贴,您的编码/

我有index.php文件。在index.php文件中有以下代码

<p>This is john's computer</p>
怎么解决呢


感谢您的支持。

尝试使用ASCII字符

&#39;
请使用
和#39
而不是直接使用

<p>This is john&#39;s computer</p>
我是约翰&39;s计算机


您可能只是没有正确指定字符编码。请尝试将其添加到HTML:
删除单引号,然后自己键入。它可能来自复制粘贴,您的编码/字符集不支持它。请尝试键入整个句子并进行检查。@HankyPanky谢谢…我也这样做了,并解决了问题。@AnazA谢谢…我也这样做了。回答正确。但我用另一种方式。我只需删除未知字符并键入一个引号。这解决了我的问题。
<p>This is john&#39;s computer</p>