Page 1 of 1

members +address book

Posted: Tue Feb 15, 2005 9:11 pm
by Jim_Bo
Hi,

I have a membership system with user progiles etc etc ..

I have made an address book that is setup I guess for one user ..

Can someone please give me some insight on howto set it up so that it works with the membership system ..

I have a users table and a address table .. how is it done so each member has there own address book .. when they signin and view the address book .. they only see addresses that they have inserted using the add new record etc ..

Cheers

Posted: Tue Feb 15, 2005 9:17 pm
by feyd
the addresses table has a userid for each row.

Posted: Tue Feb 15, 2005 9:24 pm
by Jim_Bo
Hey,

.. hmmz

Do you mean .. the address table right now has an "id" column ..

Now I need to have it write the users id in that row each time they add a record?

Or have the "id" row stay in place as it is and add another column for the userid?

Posted: Tue Feb 15, 2005 9:25 pm
by feyd
add a userid column