in reply to Re: Sorting SQL results
in thread Sorting SQL results

Sorry was typing my reply as you corrected yours.

I cannot use :

print F $row_ref->{$_} for qw(userid giftid);

as the column names will be dynamic based on what table I query.

Is there a way to order they by how they query returns them?

Replies are listed 'Best First'.
Re^3: Sorting SQL results
by Anonymous Monk on Oct 11, 2013 at 21:04 UTC
    fetchrow_arrayref works.