2014 copyright and mysql_real_escape_string

corrected mysql_real_escape_string code
also added 2014 copyright