wpdb->insert escaping
-
I have created a function that adds some data to a database table using wpdb->insert()
Each time the form is submit it adds back slashes to ‘ character, if form validation fails and refreshes it still adds it, resulting in something like this:
i’ve becomes i\\\\\\\\\\\\\\\'ve
I am struggling to find the correct WP function to use.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘wpdb->insert escaping’ is closed to new replies.