get_results( $consulta );
foreach ( $resultado as $fila ):
echo $fila->columna;
endforeach;

?>