Gossamer Forum
Home : Products : DBMan : Discussions :

Existential (ID) problem

Quote Reply
Existential (ID) problem
I have an existential problem, an ID problem:

This is (part of) my CFG:

ID => [0, 'numer', 11, 11, 1, '', ''],
Username => [1, 'alpha', -2, 8, 0, '', ''],

$db_key_track = 1;
$auth_user_field = 1;

I let every user only add one record, and use the "Send to ADD" mod to check if the person already has a record, if not he will be sent to Add sub else he will be sent to Modify sub.

Everytime a new user signs up, the .pass file saves the user's username, password and the signup email.

When the user saves his first (and only) record, the .DB file would have to start with:

1|username|etcetera...

Instead it has the following values:
username|username|etcetera...

What can I do about that?

Of course the database works great, but I want automatically incremented, numbered ID's.

Grateful for any answers - this must be my final error before we go live.

/CSky


Subject Author Views Date
Thread Existential (ID) problem csky 4335 Feb 5, 2001, 10:25 AM
Thread Re: Existential (ID) problem
LoisC 4242 Feb 5, 2001, 10:37 PM
Thread Re: Existential (ID) problem
csky 4246 Feb 5, 2001, 11:30 PM
Thread Re: Existential (ID) problem
LoisC 4232 Feb 6, 2001, 10:22 AM
Thread Re: Existential (ID) problem
csky 4233 Feb 6, 2001, 12:19 PM
Thread Re: Existential (ID) problem
AstroBoy 4216 Feb 6, 2001, 7:21 PM
Post Re: Existential (ID) problem
csky 4188 Feb 8, 2001, 3:01 PM