倒序输出问题,在线等,急!!! 在这行$result = $this->Execute( $query, $page, $itemsPerPage );前面加上$query .= ' order by id desc';也就是$query .= ' order by id desc';$result = $this->Execute( $query, $page, $itemsPerPage ); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 $resources = array_reverse($resources );return $resources; return array_reverse($resources); 谢谢,飞花逐月,解决了,一开始我将query .= ' order by id desc'; 写到// just in case if for any reason the string ends with "AND" 上了,呵呵 接分~前面的答案正确了。楼主请更换一个class吧。按照你的功能要求,根本用不少使用class的,函数足够了 $resources = array_reverse($resources);return $resources; $query .= ' order by id desc';$result = $this->Execute( $query, $page, $itemsPerPage );$resources = array_reverse($resources);return $resources;这两个效率上有没有区别? 关于PHP调用WebService php页面中文乱码的问题!基础,不过我就是不知道 js数组树遍历,求父节点及等级 有没有处理图片大小的函数? 还是关于分页中的转到的问题 急。。在线等问题 怎么我用copy() 上传文件提示 Call to undefined function 啊,急!!在线等 紧急求救,apache配置? 在安装完phpMyAdmin之后,如何保护phpMyAdmin目录?? mysql 搜索结果按照关键字排序 自己写了个动态树,为什么是死循环? 数组问题`
return $resources;
return $resources;
$result = $this->Execute( $query, $page, $itemsPerPage );$resources = array_reverse($resources);
return $resources;这两个效率上有没有区别?