Sorry for opening a new threat, but after the notes on the relational DB I have a new situation:
I'm using the long/short mod together with the relational mod and after changing the scripts according to LoisC 's and JpDeni's notes I have the following situation:
User side (single side of the db)
I get is a list of records out of the item db depending on the max hit value and not depending on the UserID field,
that is
records 1-100 for the user 1 (nh=1)
record 101-200 for user 2 (nh=2) ....
when mh (Max Hits) is set to 100 and
records 1-50 for the user 1 (nh=1)
record 51-100 for user 2 (nh=2) ....
when mh (Max Hits) is set to 50.
if I remove the next hit value i get !!!one!!! correct item.
and
I get strange results if I search the database.
regard,
Fischi
PS:
Please take a look into the skripts, you can find them at
http://www.univie.ac.at/psychologie/download/dbman/buch.cfg.txt
http://www.univie.ac.at/psychologie/download/dbman/buch_html.pl.txt
http://www.univie.ac.at/psychologie/download/dbman/db.cgi.txt
http://www.univie.ac.at/psychologie/download/dbman/mitarbeiter.cfg.txt
http://www.univie.ac.at/psychologie/download/dbman/mitarbeiter_html.pl.txt
The page is
http://www.univie.ac.at/psychologie/cgi-bin/dbman/db.cgi?db=mitarbeiter
Username admin password admin
I'm using the long/short mod together with the relational mod and after changing the scripts according to LoisC 's and JpDeni's notes I have the following situation:
User side (single side of the db)
I get is a list of records out of the item db depending on the max hit value and not depending on the UserID field,
that is
records 1-100 for the user 1 (nh=1)
record 101-200 for user 2 (nh=2) ....
when mh (Max Hits) is set to 100 and
records 1-50 for the user 1 (nh=1)
record 51-100 for user 2 (nh=2) ....
when mh (Max Hits) is set to 50.
if I remove the next hit value i get !!!one!!! correct item.
and
I get strange results if I search the database.
regard,
Fischi
PS:
Please take a look into the skripts, you can find them at
http://www.univie.ac.at/psychologie/download/dbman/buch.cfg.txt
http://www.univie.ac.at/psychologie/download/dbman/buch_html.pl.txt
http://www.univie.ac.at/psychologie/download/dbman/db.cgi.txt
http://www.univie.ac.at/psychologie/download/dbman/mitarbeiter.cfg.txt
http://www.univie.ac.at/psychologie/download/dbman/mitarbeiter_html.pl.txt
The page is
http://www.univie.ac.at/psychologie/cgi-bin/dbman/db.cgi?db=mitarbeiter
Username admin password admin