为你而来

2012年3月14日

php复习:数组函数

摘要: $arr=array('jim','tom','mary','jack','lucy');next($arr);prev();reset();current();unset($arr[0]);list($x,$y,$z)=$arr;asort($arr);//由小到大排序while($sz=each($arr)){ echo "$sz[value]<br/>";}$arr=array('a'=>'jim','b'=>' 阅读全文

posted @ 2012-03-14 21:04 为你而来 阅读(180) 评论(0) 推荐(0) 编辑

导航