Jump to content

PHP Help


SAFCliam91

Recommended Posts

I have a database structure as follows,

 

 

Table structure for table staff

Column

Type

Null

Default

id

int(11)

No

 

username

varchar(100)

No

 

password

varchar(100)

No

 

email

varchar(100)

No

 

P1

enum('0','1')

No

 

P2

enum('0','1')

No

 

P3

enum('0','1')

No

 

P4

enum('0','1')

No

 

P5

enum('0','1')

No

 

 

 

P1 all to P5 are for different permissions, i need help creating a script that will list all the usernames off staff and checkboxes that can be ticked to allocate them to different permissions. (eg, p1 allows them to edit details on another page 1 been granted permission 0 meaning they don't have access)

 

can anyone help me with this please

Link to comment
https://forums.phpfreaks.com/topic/275232-php-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.