有一个数据里面里面是文件+目录字符内容,随机排序 $data=array(“wx_interface.php”,“wechat”,”tw”,”APMServ5.2.6_zip.exe”,”base-class.php”,”t.php”,”dir”,”path”,”t.exe”,”t.txt”); 我们要实现,先显示目录后显示文件,可以采用usort来做实现,ECSHOP开发中心(海口白癜风专科医院哪里治疗白癜风权威
|
有一个数据里面里面是文件+目录字符内容,随机排序 $data=array(“wx_interface.php”,“wechat”,”tw”,”APMServ5.2.6_zip.exe”,”base-class.php”,”t.php”,”dir”,”path”,”t.exe”,”t.txt”); 我们要实现,先显示目录后显示文件,可以采用usort来做实现,ECSHOP开发中心(海口白癜风专科医院哪里治疗白癜风权威
|