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

WBOY
Release: 2016-06-13 13:36:26
Original
870 people have browsed it

请问在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>

Copy after login


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

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

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

echo '';
?>
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!