KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
To add a new rows to the database I use $wpdb->insert , and to get the rows I use $wpdb->get_results . The problem is that $wpdb->insert seems to be escaping the input. For example, a"b is saved as a\"b in the database. But, $wpdb->get_results doesn't seem to unescape back a\"b to a"b . Is this the correct behavior by design? Should I unescape the result of $wpdb->get_results manually? (What is the proper function for this?)
Tags (comma-separated)
Save Edits
Cancel