|
|||
|
I have the following problem. I have a database with the following tables users and roles. I want to check if the role is in use by a user if this is true than the role can not be removed and this must be visual to the user by the words "In gebruik" (dutch for "in use"). My layout of my tables is this:
The users table: Id username password real_name role ---------> this is the Id of the role table The roles table: Id name access I have created the following files for the database communication: users.php PHP Code:
PHP Code:
Thank you, Ivo Last edited by ivotrompert : 08-19-2007 at 01:23 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|