possible to simplify this line from to what i have done since !is_object($dbh) was already done prior just a few lines above.
// If there is an error then take note of it..
if ( is_object( $dbh ) && ( $this->last_error = mysqli_error( $dbh ) ) ) {
$this->print_error( $this->last_error );
return false;
}
if ($this->last_error = mysqli_error( $dbh ) ) {
$this->print_error( $this->last_error );
return false;
}