How to echo script in php

后端 未结 6 1122
再見小時候
再見小時候 2021-01-20 04:11

I am using the shortcode execute plugin in wordpress.

This simply allows me to write shortcode like this [email_spamproof]

But I am trying to echo a script.

6条回答
  •  逝去的感伤
    2021-01-20 04:39

    You need to escape them and then concatenate the variables :

    (Also I dont know if you realize, but you are echoing a commented out section of javascript)

    echo '     
      '; 
    

提交回复
热议问题