Addslashes with dhtmlxConnector


I’m using dhtmlxConnector in combination with the dhtmlxForm. At some stage the form or connector adds slashes to Apostrophes ('). For example the word “Don’t” gets replaced with don't.

When adding data to the database this behavior is excellent, when returning data to the form this isn’t.

Is there an operator to use the make the added slash disappear in the form?

Many Thanks.

Please be sure that you has not “magic quotes” enabled. This optional feature of PHP may cause the above described issue.

Hi Stanislav,

Thank you verry much for the promt reply. It indeed was the PHP magic_quotes function. Since it is a depricated function i thought it would be disabled on default with PHP.

Thanks for the help and my complements on the great software!