Here’s what I’ve done. Its a website with a login page. Once logged in, you have access to a table in which you can modify to hold information on comic books (eg. which ones you own, issue, volume, etc.). I have a MySql database with two tables, the user info and the comic info. I have it set up that if you are in the User table (e.g. registered) then you can access the database but the database is global. Everyone included in users will see the same list of comics.
(Sorry for the long explanation just want to be as clear as possible)
I’m not worried about security because it’s only for about 10 people (friends) who will use it and I’m also relatively new to PHP and mysql. The above work is a result of many hours of research and tutorials.
My question is, how would I go about making each user have they’re own personal list in which they can modify to add they’re own comic info and only they can access once logged in?
Create a table with two fields,
user_idandcomic_id.Each entry in that table corresponds to the user with id
user_idowning the comic with idcomic_id.This is what is commonly referred to as a many-to-many relation between users and comics.
Further material: