How to use single quote inside an echo which is using single quote

前端 未结 7 877
没有蜡笔的小新
没有蜡笔的小新 2020-11-28 12:04

First of all, i have gone through the related questions.. haven\'t found any answer.. I m using this code to display a message

echo \'Here goes your message wi

7条回答
  •  温柔的废话
    2020-11-28 12:42

    The problem may be that you are passing the variable through HTML in single quotes ''. If it is the case, try using double quotes: "".

提交回复
热议问题