mysql_real_escape_string being deprecated in favor of mysqli_real_escape_string()
Merge pull request #2 from energee/master

mysql_real_escape_string  to mysqli_real_escape_string()