要取得classid的name,原本用两次回圈的方法,但觉得没效率
如何只读两次资料库,且不是用两次回圈来取值
1
yangmls May 4, 2015
变数 -> 变量?
回圈 -> 循环? 资料库 -> 数据库? 参考 laravel 的 array_first 吧,更优雅的实现。 |