使用echo输出单引号,需要用转义符\ 代码如下:
echo '这是我的个人网站\'xiaojia\'';
输出为: 这是我的个人网站’xiaojia’
php, 单引号
You can follow any responses to this entry through the RSS 2.0 Both comments and pings are currently closed.