可以这样做 - 用一个PHP标签打开一个变量,然后关闭PHP标签,但保持变量打开,以便下面的所有内容成为变量的值?或者PHP变量大小/字符是否有限制?
<?php $content = " ?> a bunch of content goes here <br /> with lots of HTML tags and JS scripts <?php "; ?>
php variables
php ×1
variables ×1