Home >Backend Development >PHP Tutorial >请教小弟我怎么才能把这个alert(t2)打印出来呢

请教小弟我怎么才能把这个alert(t2)打印出来呢

WBOY
WBOYOriginal
2016-06-13 11:38:40966browse

请问我如何才能把这个alert(t2)打印出来呢?

<br /><script type="text/javascript"><br />var t1 = "fff";<br />var t2 = "<?php echo t1;?>";<br />alert(t2);<br /></script><br />


请问我如何才能把这个alert(t2)打印出来呢?

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
Previous article:cpanel设置定时不如何会Next article:jpgraph有关问题