PHP中的IF也可以这样用啊 if(条件): do someting ;不加:可以么 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://www.php.net/manual/en/control-structures.alternative-syntax.php if(condition):....end if;可以这样写 是这样if(condition):...endif; 是这样if(condition):...endif;手滑了... 是这样if(condition):...endif;替代语法,手册中有提到的 嗯 替代语法if(condition): dosomething;endif;while(conditon): dosomething;endwhile;........... [求助]php代码规范 这种访问怎样实现 获得当前页面URL 图片批量处理问题 php while循环退不出是什么问题? 请教个问题比较急!谢谢!~ 自己写的Template类,有兴趣的可以交流交流. html 怎样取得PHP的变量? 判定本月第一天从周几开始,真的很难吗?为何没人回答 滚动翻页失败:JS 方法里面写 php代码,php代码改变变量值(比如 变量++),再次调用方法时,变量值时旧的 php如何把数组树型结构 转换 成数组列表结构 php做类似百度搜索下拉自动提示框效果
if(condition):
....
end if;可以这样写
...
endif;
...
endif;
手滑了...
...
endif;
替代语法,手册中有提到的
dosomething;
endif;while(conditon):
dosomething;
endwhile;...........