Updates on queryDB functionality after brainstorming with Cindy. Adding visual feedback to the user as well as proper error logging.
Moving function into a proper location. Also fixing a tiny bug with one row result return.
Adding addslashes logic into queryDB. Adding an extra parameter which will allow to make this addslashes logic optional. Also making oneRow parameter as a mandatory one. Users have to specify if the query they wrote suppose to return only 1 row. All those changes are pending review and discussion.
Fixing the comment and changing TRUE to be true
Making third parameter optional
Merge pull request #34 from anvk/queryDB

Refactoring of queryDB function.