帮忙看看错哪了?没发觉

WBOY
Release: 2016-06-13 12:45:24
Original
783 people have browsed it

帮忙看看哪里错了?没发觉啊
$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){
这行代码错误

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