To add a new rows to the database I use
$wpdb->insert, and to get the rows I use
The problem is that
$wpdb->insertseems to be escaping the input. For example,
a"bis saved as
a\"bin the database. But,
$wpdb->get_resultsdoesn’t seem to unescape back
Is this the correct behavior by design?
Should I unescape the result of
$wpdb->get_resultsmanually? (What is the proper function for this?)
- The topic ‘How to unescape the results when using $wpdb->get_results?’ is closed to new replies.