added mysql escape string method in appropriate places
changed instances of getDBresultrecord to getDBresultsarrays for consistency and bug fixing
added query for getting current events (would need api to call the method before we can support it