Jun 26, 2024
tbl_users
.tbl_users
:
username
(primary key)password
first_name
surname
user_type
(e.g., admin, general user)dm_pat_example
) to access the ADO table (ado_users
).edt_login_username
, edt_register_username
).while
loop.b_found
) to indicate if a matching record is found.if ado_users['username'] = s_username then
if ado_users['password'] = s_password then
b_found := true;
s_user
, s_user_type
) for later use.