Home  >  Article  >  Backend Development  >  请教在php输出如下的如何弄

请教在php输出如下的如何弄

WBOY
WBOYOriginal
2016-06-13 10:16:37847browse

请问在php输出如下的怎么弄?

HTML code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->        <script type="text/javascript">        $(document).ready(function(){            $("#slider").Slider({prevText: ' ',nextText: ' '});        });        </script>


本来想用$html=html...
script;

可是可能是因为里面带分号,老是报错。应该怎么输出这段呢?

------解决方案--------------------
$html=结尾的sript前也不能有的.
------解决方案--------------------

echo '';
?>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn