Added mysql_free_result and mysql_escape_string