Forum Moderators: open
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'm happy'... I know I can escape this string with mysql_real_escape_string() or addslashes(), but this query worked fine on my old server, and the data was entered in mysql table without any errors and without slashes.
How can I configure mysql or php on my new server so I don't have to have all strings escaped before inserting in mysql table?