I'm using Node.js as server with Mysql as database for storing logged in usernames. Can I use AJAX to make a sql database query and return the list of usernames?
To be specific I want to use XMLHttp request and get the results without reloading the page.
Please excuse me if the question doesn't make sense. I'm from Mechanical Engineering background.