Hey, is there a way to get the last SQL error when using $wpdb, without printing it to the screen (I want to log it in a file/DB).
Thanks!
Hey, is there a way to get the last SQL error when using $wpdb, without printing it to the screen (I want to log it in a file/DB).
Thanks!
I think getting the var $wpdb->last_error will work.
This topic has been closed to new replies.