Apostrophe causes mySQL error

Discussion in 'Installation/Configuration' started by rlischer, Sep 8, 2009.

  1. rlischer

    rlischer Member

    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?

  2. rlischer

    rlischer Member

    I found it:
    edit php.ini and turn on "magic_quotes_gpc On"

Share This Page