在php文件里面写js和html

<?php $js = <<<JS ..........//没有<script>标签 ............ ................. JS; $this->registerJs($js);//这个方法在view.php里面 $html = <<<HTML ....................... HTML; echo $html;
相关文章
相关标签/搜索