Hello all, hopefully someone will be able to help me.
I have a development mysql database (MySQL 4.0.0-alpha-nt ) running on Windows.
I have a form that is able to successfully insert text that contains single quotes text to the database/table I have created.
ex) can't, won't, didn't, etc...
Now when I copy the php code/page to my production mysql database (MySQL 4.0.16a ) running on FreeBSD with Apache as the web server, the form is unable to insert the text.
From what I can tell the problem lies in the fact that when the insert statements are prepared the single quotes are not being escaped properly.
Is there some system/environment variable I need to ensure is set properly. I have looked and am unable to find any thing that is set differently.
By the way, I am not escaping the string using any special scripts or commands (I know I should be...).
any help would be greatly appreciated, I know there is probably a very simple solution to this.
thanks,
Scott 😕