WordPress, about error handling inside WPDB

I’ve had a very hard time understanding why $wpdb->get_results was always returning an empty array in a query I was working on. Thanks to the codex, turning wordpress to show sql’s errors helped me a lot : $wpdb->show_errors(); more infos about error handling inside WPDB

herringbone rug

via tran nn http://www.pinterest.com/pin/298996862732314834/