请问在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 '<script type="text/<a style=" color: text-decoration:underline title="javascript" href="https://www.php.cn/zt/15724.html" target="_blank">javascript"> $(document).ready(function(){ $("#slider").slider({prevtext: \' \',nexttext: \' \'}); }); </script>';
?>










