View Full Version : Apostrophe causes mySQL error
rlischer
8th September 2009, 22:32
I just ran a test with the exact same mySQL database and php code on two different servers. The cPanel server worked fine, but the server running ISPConfig 3 causes a mySQL error when a field has an apostrophe in it when I try to save. Is this some PHP setting I missed?
Thanks!
rlischer
8th September 2009, 23:51
I just ran a test with the exact same mySQL database and php code on two different servers. The cPanel server worked fine, but the server running ISPConfig 3 causes a mySQL error when a field has an apostrophe in it when I try to save. Is this some PHP setting I missed?
Thanks!
I found it:
edit php.ini and turn on "magic_quotes_gpc On"
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.