Home > Backend Development > PHP Tutorial > 关于if else的,小弟我用eclipse老出现异常,哪位高手遇到过麻烦告诉小弟我如何调试上

关于if else的,小弟我用eclipse老出现异常,哪位高手遇到过麻烦告诉小弟我如何调试上

WBOY
Release: 2016-06-13 10:45:51
Original
1319 people have browsed it

关于if else的,我用eclipse老出现错误,谁遇到过麻烦告诉我怎么调试下
我编辑if else 老出现错误 尤其是复制了一段代码,比如有2个if else 先提示第一个几个错误,我从下边从写一遍copy上去没事了,但是第二个ifelse 又错误了! 

我自己写有时候先写的if 后来再添加else也出现错误,我这样就没事就是照提示打出来然后往里边填写!
if (condition) {
  ;
  }

新手 不要嘲笑我!

------解决方案--------------------
}  
} //此处多了一个} 去掉一个 
header('HTTP/1.1 301 Moved Permanently');
header('Location:files.php');

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