FATAL ERROR语法错误,意外T_CONSTANT_ENCAPSED_STRING

时间:2016-03-23 03:02:01

标签: php

$googleadsensecode ="a"
"script async src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
<!-- CSGO investing -->
<ins class='adsbygoogle'
 style='display:inline-block;width:728px;height:90px';
 data-ad-client='ca-pub-5887577755866658';
 data-ad-slot='8619972228'></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>"
//now outputting this to HTML
echo $googleadsensecode;

我似乎无法弄清楚为什么我在第11行得到错误 FATAL ERROR语法错误,第11行意外T_CONSTANT_ENCAPSED_STRING 它必须与括号有关,但我不知道如何以其他方式做,请帮忙。

1 个答案:

答案 0 :(得分:0)

评分

$googleadsensecode ="a""script

也许

$googleadsensecode ="script