MySQL Functions for Front-End. (Ajax)

Fix typo