Hi Daniel,
I can think of a table with columns like this:
prvlink
item
nextlink
where prvlink and nextlink points to the previous and next nodes and item is
the current node.
prvlink = 0 for first node
nextlink = 0 for last node
Hope this helps
Joseph
- Original Message -
From:
i think i'm getting in over my head a bit here..
is this something thats gonna be simple to do?
- Original Message -
From: Joseph Jude [EMAIL PROTECTED]
To: Daniel Jarrett [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, March 29, 2002 7:34 PM
Subject: Re: [newbie post] linked
Jarrett [EMAIL PROTECTED]
Sent: Friday, March 29, 2002 8:01 PM
Subject: Re: [newbie post] linked lists..
i didn't understand you.
it is going to depend on what complexity you are going to put into the
list
create table linkedlist(
listid int,
prvlinkid int,
item varchar(20)
nextlinkid int
the DuBible ('MySQL' by Paul DuBois).
Regards,
=dn
- Original Message -
From: Daniel Jarrett [EMAIL PROTECTED]
To: Joseph Jude [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: 29 March 2002 09:36
Subject: Re: [newbie post] linked lists..
ahh.. yes i see where you are coming from.. yes i suppose
Hi Daniel,
You wrote:
what i'm trying to do is have one table for a member base, and have each
member capable of having a list of items of a varying number.
when i first thought about doing this i thought there may have been a
field
type that would act as a linked list.. kinda like a set,
I think you need to be more detailed. What is your goal? Let's work
from there.
-Original Message-
From: Daniel Jarrett [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 3:19 AM
To: [EMAIL PROTECTED]
Subject: [newbie post] linked lists..
is there any way of doing a linked