mysql_real_escape_string() added

to prevent MySql injections