Hey guys.
I'm working on a script for email piping. What I'd like to do is allow users to sign-up for a list, and unsubscribe from the list.
To be honest, it's really kind of easy (not tested yet) or so it seems. What I need to do is create a database called Email and in it hold a tables called: users, list1, list2, list3 etc. for as many lists as the user chooses.
Now, I'd like to allow users to log-in (using sessions (lookin for good tutorials on it... wink wink nudge nudge)) and view all lists they are subscribed to.
Now, I need to link the tables so that a user can view all subscriptions. So the search would have to go through each database and if the user is in there, then they list it and such.
So here's my question:
How is it I can "link" the tables together?
I would want the link to be on the FirstName and LastName column or email address column. most likely, Email address.
The table setup would be as follows:
users
id
FirstName
LastEame
Email
Username
Password
List#
id
FirstName
LastName
Email
Thanks for the help guys.
~Brett