Use mysql_real_escape_string for protection against MySQL injection attacks