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

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

WBOY
WBOYOriginal
2016-06-13 13:50:03776browse

求教~!一小段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> ';
}
?>

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