当我在本地主机 ( http://www.ajaxcrud.com/ ) 上测试 ajaxcrud 时。我收到以下错误。
Fatal error: Call to undefined function q() in ajaxCRUD.class.php on line 1861
以下是存在错误的地方。
function getFields($table){
    $query = "SHOW COLUMNS FROM $table";
    $rs = q($query); // Line 1861
    $fields = array();
    foreach ($rs as $r){
        //r sub0 is the name of the field (hey ... it works)
        $fields[] = $r[0];
        $this->field_datatype[$r[0]] = $r[1];
    }
    if (count($fields) > 0){
        return $fields;
    }
    return false;
}
希望可以有人帮帮我。非常感谢你 ....