Fixed Register for mysql_real_escape_string and registering.