I have got a intranet that I am developing. Only certain people will have access to changes on this intrant.
I want to control these changes with a table in my db. How would I go and set it up? I would like to use a boolean value (true or false), where I can query the value with PHP
My table setup...looks something like this:
create table access (
access_id int(4) NOT NULL auto_increment,
access_type bool, #------------------------------> is this correct
user_id int(4) NOT NULL,
primary key (access_id)
) type = MyIsam;
or would I go and use a char value (0 and 1)
Thanks