Then you can work out yourself what is the parent of each item.# get a hash ref keyed to id my $data = $dbh->selectall_hashref( 'select id, name, parent from category', 'id' );
gav^
In reply to Re: Using Multiple Statements MySQL
by gav^
in thread Using Multiple Statements MySQL
by andrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |