I cant get my head round this, so hopefully somewhere here can help.
Basically I have a database, its got two tables one for users and one for documents. Now both tables have a column regarding "permissions", i.e who can view these documents.
So heres an example of the table
john | commercial , finance
title | viewing
report | commercial
data | finance
proposal | commercial, finance
But my question is how do I use PHP to store these values? Ive heard something about arrays, would this apply? How do I use checkboxes (to set the values in the database) and then retrieve them?