So what's happening is that when I use AJAX to retrieve some information from my database, it takes 600+ MS (LOCALLY! :'( ) and that just seems unacceptable. So this is the code to hook the function:
[Code moderated as per the Forum Rules. Please use the pastebin]
And here's the JQuery code:
[Code moderated.]
The function that retrieves from the database is not the problem, seeing as even if I set it to just echo "1" or "2", it still takes 600+ MS :'(
Any help? I'm not good at optimizing code :|
Also, sorry if this is the wrong forum, just wasn't sure :<