All posts tagged in: wpdb last_result

wpdb last_query, last_result, last_error

883

There are times that you wanted to print the exact query itself or query result right after it is executed. Use following wpdb class variables to troubleshoot. $wpdb->last_query This prints that last query that is executed, I mean the exact MySQL Query itself. $laundrycustomer = $wpdb->get_row(“SELECT ..

Thank you for visiting us. To continue receiving updates, please Subscribe to our Social Media Channels.

Google+
FACEBOOK
RSS
YOUTUBE
Menu Title