Home  >  Article  >  Backend Development  >  帮忙看看错哪了?没发觉

帮忙看看错哪了?没发觉

WBOY
WBOYOriginal
2016-06-13 12:45:24782browse

帮忙看看哪里错了?没发觉啊
$aa;
$names [0]=$_POST['a1'];
$names [1]=$_POST['a2'];

for($i=0; $i    if($names[$i] !="0" ){
       if($i==0){
         $aa ='紫色 '.$names[$i].'件-';}
     esleif($i==1){
           $aa .='-玫红 '.$names[$i].'件-';}
  }
}

错误信息:Parse error: syntax error, unexpected '{' in 

说的是 esleif($i==1){
这行代码错误

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