Fix in CheckField
Change mysql_query for PDO kind
Removed mysql_real_escape_string
PDO does automaticly