Home > Backend Development > PHP Tutorial > 求教~一小段asp语句改写成php解决思路

求教~一小段asp语句改写成php解决思路

WBOY
Release: 2016-06-13 13:50:03
Original
827 people have browsed it

求教~!一小段asp语句改写成php
求教~!一小段asp语句改写成php
if   pw=4     then  
Response.Write " "
end   if
%>

------解决方案--------------------
if($pw == 4)
{
echo " ";
}
?>

就这样,没得说了

------解决方案--------------------
if($pw == 4){
echo ' <script> alert( "你的帐号已被禁用,请联系管理员! ");location.href= "error.php?pw=3; " </script> ';
}
?>

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