PHP Echo - Escaping quotes

后端 未结 4 1048
不思量自难忘°
不思量自难忘° 2021-01-25 22:46

I was programming something in PHP but since I\'m a newbie I got stuck.

I have no clue how should I escape quotes on the following line. Moreover, I think the PHP tags i

4条回答
  •  醉梦人生
    2021-01-25 23:29

    The general/common escape character is \, works in PHP and Javascript.

    echo '';
    

提交回复
热议问题