Home >php教程 >php手册 >通过php5输出js代码

通过php5输出js代码

WBOY
WBOYOriginal
2016-06-06 19:33:341163browse

无详细内容 无 ?php$str=markscript language="javascript" type="text/javascript" alert("欢迎进入PHP编程世界!!!");/scriptmark;echo $str;?

<?php
$str=<<<mark
<script language="javascript" type="text/javascript">	
		    alert("欢迎进入PHP编程世界!!!");		
</script>
mark;
echo $str;
?>
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