Also can the null record be removed from the dbase, as it cannot be searched or modified?
This is the entry from the dbase
NULL|Dummy Record|Testing only|jon Baxter|http://www.scream.co.uk|01-Oct-2001|NULL
1|Another Test|Testing here|jb|NULL|01-Oct-2001|NULL
2|news news news|roll up rollup````read all about it|michelle|NULL|01-Oct-2001|1
the count file automatically resets itself, even if i change the log file to a different number. Am i doing something wrong?
jon
NULL|Dummy Record|Testing only|jon Baxter|http://www.scream.co.uk|01-Oct-2001|NULL
1|Another Test|Testing here|jb|NULL|01-Oct-2001|NULL
2|news news news|roll up rollup````read all about it|michelle|NULL|01-Oct-2001|1
the count file automatically resets itself, even if i change the log file to a different number. Am i doing something wrong?
jon
Oct 2, 2001, 1:20 AM
Veteran / Moderator (3034 posts)
Oct 2, 2001, 1:20 AM
Post #7 of 8
Views: 4116
Yes, I would also have to ask what version of the script you are using.
I remember mention of one an early version using null.
In your .cfg file you will want to set:
# The column name for the database key. Can be any column, but it must be unique! You can't have two records with the same key value!
$db_key = 'ID';
# Track the key? Should DBMan keep a counter of the next key to use? This isn't neccessary if you can guarantee that your entry in the key field will be unique (i.e. a userid).
$db_key_track = 1;
To both define the field used for the counter and then activate it.
Unoffical DBMan FAQ
http://creativecomputingweb.com/dbman/index.shtml/
I remember mention of one an early version using null.
In your .cfg file you will want to set:
# The column name for the database key. Can be any column, but it must be unique! You can't have two records with the same key value!
$db_key = 'ID';
# Track the key? Should DBMan keep a counter of the next key to use? This isn't neccessary if you can guarantee that your entry in the key field will be unique (i.e. a userid).
$db_key_track = 1;
To both define the field used for the counter and then activate it.
Unoffical DBMan FAQ
http://creativecomputingweb.com/dbman/index.shtml/