Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need to display a list on three levels so, say I gave you jack, and I wanted his referrals.NAME--REFERRAL Jack-- Bob---Jack Joe---Bob Henry-Joe Gabe--Jack Pete--Gabe Tim---Gabe
Jacks Referrals: Level 1: -Bob -Gabe Level 2: -Joe -Pete -Tim Level 3: -Henry
And just go from there. This is how I want to have it though, have it like this.$sth = $dbh->do("SELECT referral FROM members WHERE username='Jack'");
I can't find a way to do this@ref = "Bob|Gabe", "Joe|Pete|Tim", "Henry";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Building a List
by UnderMine (Friar) on Nov 23, 2002 at 15:33 UTC | |
by Anonymous Monk on Nov 23, 2002 at 15:41 UTC | |
by UnderMine (Friar) on Nov 23, 2002 at 18:38 UTC | |
by andrew (Acolyte) on Nov 23, 2002 at 19:08 UTC | |
|
Re: Building a List
by pg (Canon) on Nov 23, 2002 at 18:34 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |