mysql_real_escape_string() added

To prevent injections