阅读背景:

如何使用Jquery(ajax)正确使用返回的数组

来源:互联网 

Php function :

Php功能:

public function getThreadsbyNumber($number) {
    $result = mysql_query("SELECT * FROM `threads` LIMIT $number");
    while ($fetch = mysql_fetch_array($result)) {
        $threads[] = $fetch;
    }
    return $threads;
}
public function getTh



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: