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

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

WBOY
Release: 2016-06-13 12:34:40
Original
1071 people have browsed it

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

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


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

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