网页中 如果使用 onclick="this.form.submit();" 无法提交表达,可以使用下面的代码:
onclick="document.forms['form'].submit();"
范例:
<form name="search" type="get">
...
PHPCMS 搜索结果排序问题解决:
修改的页面:\phpcms\modules\search\index.php
搜索
$data = $this->content_db->select($where, '*');
替换为:
$data = $this->content_db->select($where, '*','','id desc'); 这里的id可以替换为你想要的字段
...
苗景云的博客
<< 向左走,向右走 >>
<< 向左走,向右走 >>
