尝试使用AJAX从服务器提取数据时解析错误

时间:2019-06-24 17:41:05

标签: ajax

尝试从服务器中提取特定表中的数据以从下拉菜单中显示,而不必重新加载页面。

我一直在使用w3schools教程(https://www.w3schools.com/xml/ajax_database.asp)。

我认为我已经更改了所有必要的代码,以将其反映到我想使用的数据库中。

class Solution { 
    static int k=0; 
    static int l=0; 

    public void reverseString(char[] s) { 
        if(k==s.length||s==null){ 
            return; 
        }

        char c = s[k++]; 
        reverseString(s); 
        s[l++]=c; 
    } 
}

因此Visual Studio Code具有`$ stmt-> bind_param(“ s” $ _GET ['q']);'在阅读中强调。

当尝试在浏览器中运行它时,我得到一个-$ stmt-> bind_param(“ s” $ _GET ['q']);

0 个答案:

没有答案