in reply to Deleting a branch from a tree structure
sub rec_delete { my $id=shift; foreach my $id (select id where parent=$id) { rec_delete($id); } delete($id); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Deleting a branch from a tree structure
by hv (Prior) on Apr 23, 2003 at 16:58 UTC | |
by demerphq (Chancellor) on Apr 23, 2003 at 17:24 UTC |