Mixing html and php variables inside an echo statement

后端 未结 8 2020
猫巷女王i
猫巷女王i 2020-12-16 06:07

This may be a problem of my trouble with using single and double quotes in one statement. But I have this piece of code:

echo \'
8条回答
  •  悲哀的现实
    2020-12-16 06:31

    If you want to keep using single quotes, you'll need to use the append operator (a period).

    echo '
          
          ';
    

提交回复
热议问题