php流程控制之多向条件分支结构
1、if(条件){}else if (条件2){}else if (条件3){}else if (条件4){}.....else{}
2、$score = ?;if ( $score<= 60){ echo "good";} else if ($scor髫潋啜缅e <=70){ echo"良";}else if ( $score <=80){ echo"好";}else if ($score <=90){ echo"best";}else{ echo"有雾";}
3、多向分支条件结构案例
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:27
阅读量:32
阅读量:23
阅读量:61
阅读量:63