”。"/> ”。">

Home  >  Article  >  Backend Development  >  PHP有几种方法实现弹出消息提示框

PHP有几种方法实现弹出消息提示框

PHPz
PHPzOriginal
2016-06-13 09:59:095104browse

PHP有几种方法实现弹出消息提示框

PHP使用之实现弹出消息提示框的两种方法

方法一:

echo "<script>alert(&#39;提示内容&#39;)</script>";

方法二:

echo &#39;<script language="JavaScript">;alert("这是");location.href="index.htm";</script>;&#39;;

更多相关技术文章,请访问PHP中文网

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:fgets有关问题Next article:Zend Framework 配置有关问题