I am writing a script that will be running on some servers with strict mode on, some with it off...
On the ones with it on, apostrophes are an issue and cause a MySQL query error.
I can use addslashes to fix that, but addslashes isn't good for servers with strict mode off...
therefor, i only want to use addslashes in my query where strict mode is on,
anyone suggest a way to do this, or an alternative to make my script compatible on both servers with strict mode on, or off?