in reply to Reading Database with Outer Joins

You're combining two approaches to retieving data. In order to populate values defined in bind_columns use fetch, when using fetchrow_array DBI returns a list, thus ($pdisplay_order, $parent_name, $child_name) = $sth->fetchrow_array();

Update:Checked the DBI docs, and there is a fully worked example of the use of bind_columns in the section titled bind_columns

rdfield

Replies are listed 'Best First'.
Re: Re: Reading Database with Outer Joins
by Ananda (Pilgrim) on Jan 13, 2003 at 10:47 UTC
    Thanks rdfield. That helped.

    Ananda