Jump to content

facarroll

Members
  • Posts

    106
  • Joined

  • Last visited

Everything posted by facarroll

  1. I have a data form which sends to a mysql database. In the database I have 6 fields which are informed by check boxes and that dataevaluates to true("1") or false("0"). I am trying to write a short script to check whether one or more boxes were checked. I am new at this, but what I've written works well. The problem I have is that I don't know how to insert the script so that it allows the original script to continue if one of or more of the fields evaluates as true. This is what I have. There is something wrong at the end, I think. [attachment deleted by admin]
  2. Thanks Ignace. I'm so new I hardly get it. I'll post some code I'm using as well as the database connect file. It's a purchased program that I want to adapt to allow several administrators to create their own user groups. [attachment deleted by admin]
  3. I have a mysql database (innoDb) with two tables. The first table is called Admin and contains the following columns. id (autoincrementing), AdminName and AdminPwd. The second table is called Users and contains columns id(autoincrementing), UserName, UserPwd and id_Admin (foreign key) I want to be able to create several administrators who can then create their own list of users, and that list is completely unrelated to other lists of users. I would appreciate some help. I can display the users in a table, but all users are displayed at the same time. I can log on as any one of the administrators to select users, but am unable to display the group belonging only to the logged in administrator. Thanks in advance.
×
×
  • 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.